Skip to content

Commit

Permalink
Split up 2 sentences
Browse files Browse the repository at this point in the history
  • Loading branch information
ianjmacintosh committed Oct 24, 2024
1 parent 2c9950a commit fadae75
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const defaultState = Array(9).fill(null)
// 🐨 create a variable for the key you'll use for storing the squares
// 💰 'squares' should work well.
function Board() {
// 🐨 use the callback form for useState the callback should:
// 🐨 use the callback form for useState. The callback should:
// 1. get the value from localStorage using the key you created above
// 2. parse the JSON from that value
// 3. return the parsed value (or the default value if there isn't one)
Expand Down

0 comments on commit fadae75

Please sign in to comment.