Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Anas-github-acc committed Jul 27, 2024
1 parent 493f356 commit bf52ee1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/app/form_create/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@ export default function Page() {
}, []);

useEffect(() => {
if ( user ) {
console.log('fetching user data');
getUserData();
}
return () => {

if ( user ) {
getUserData();
}
};
}, [user]);

Expand Down

0 comments on commit bf52ee1

Please sign in to comment.