Skip to content

Commit

Permalink
fix: restore showSave dependency in useEffect
Browse files Browse the repository at this point in the history
  • Loading branch information
NeilYeTAT authored and ourai committed Dec 21, 2024
1 parent 377c523 commit c4867aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/profile/page.js
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ export default function Profile() {
setShowSave(false)
}
}
}, [forms, info])
}, [forms, info, showSave])

return (
<div className="flex flex-col md:flex-row min-h-screen px-4 pb-12 md:px-[67px]">
Expand Down

0 comments on commit c4867aa

Please sign in to comment.