Skip to content

Commit fadae75

Browse files
committed
Split up 2 sentences
1 parent 2c9950a commit fadae75

File tree

1 file changed

+1
-1
lines changed
  • exercises/06.tic-tac-toe/02.problem.local-storage

1 file changed

+1
-1
lines changed

exercises/06.tic-tac-toe/02.problem.local-storage/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const defaultState = Array(9).fill(null)
1111
// 🐨 create a variable for the key you'll use for storing the squares
1212
// 💰 'squares' should work well.
1313
function Board() {
14-
// 🐨 use the callback form for useState the callback should:
14+
// 🐨 use the callback form for useState. The callback should:
1515
// 1. get the value from localStorage using the key you created above
1616
// 2. parse the JSON from that value
1717
// 3. return the parsed value (or the default value if there isn't one)

0 commit comments

Comments
 (0)