Skip to content

Commit 3a37f0a

Browse files
committed
minor fix
1 parent 62b8a5e commit 3a37f0a

File tree

1 file changed

+2
-2
lines changed
  • exercises/02.context/01.problem.memo-context

1 file changed

+2
-2
lines changed

exercises/02.context/01.problem.memo-context/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@ function Main({ footer }: { footer: React.ReactNode }) {
3333
}
3434

3535
function FooterSetters({
36-
setName,
3736
setColor,
37+
setName,
3838
}: {
39-
setName: (name: string) => void
4039
setColor: (color: string) => void
40+
setName: (name: string) => void
4141
}) {
4242
return (
4343
<>

0 commit comments

Comments
 (0)