Skip to content

Commit

Permalink
fix infinite loading
Browse files Browse the repository at this point in the history
  • Loading branch information
NJ-2020 committed Jul 30, 2024
1 parent 13e89d5 commit a2ce6b4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/pages/ConciergePage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@ function ConciergePage({session}: ConciergePageProps) {
}
});

useEffect(
() => () => {
useEffect(() => {
isUnmounted.current = false;
return () => {
isUnmounted.current = true;
},
[],
);
};
}, []);

return (
<ScreenWrapper testID={ConciergePage.displayName}>
Expand Down

0 comments on commit a2ce6b4

Please sign in to comment.