Skip to content

Commit

Permalink
Update src/components/CustomStatusBar/index.tsx
Browse files Browse the repository at this point in the history
Co-authored-by: Fedi Rajhi <[email protected]>
  • Loading branch information
chrispader and fedirjh authored Nov 30, 2023
1 parent c0dbdc4 commit 3b0ebeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/CustomStatusBar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ const CustomStatusBar: CustomStatusBarType = ({isNested = false}) => {
navigationRef.addListener('state', updateStatusBarStyle);

return () => navigationRef.removeListener('state', navigationStateListener);
}, [navigationStateListener]);
}, [updateStatusBarStyle]);

useEffect(() => {
if (isDisabled) {
Expand Down

0 comments on commit 3b0ebeb

Please sign in to comment.