Skip to content

Commit

Permalink
Merge pull request #6 from stack-spot/fix/generated-code
Browse files Browse the repository at this point in the history
fixes useEffect type problem
  • Loading branch information
Tiagoperes authored Apr 22, 2024
2 parents 58e916d + 97c8195 commit 57e3284
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/cli/src/Codegen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,9 @@ export class Codegen {
}
}, [])
useEffect(() => navigator.updateRoute(), deps ?? [])
useEffect(() => {
navigator.updateRoute()
}, deps ?? [])
return navigationHandler
}
Expand Down

0 comments on commit 57e3284

Please sign in to comment.