Skip to content

Commit

Permalink
add useEffect dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
sidvishnoi committed Oct 2, 2024
1 parent 9b759b3 commit 1e35ac7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/progress-connect/context.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export const UIModeProvider = ({ children }: React.PropsWithChildren) => {
return () => {
window.removeEventListener('hashchange', onHashChange);
};
});
}, []);

return (
<UIModeContext.Provider value={mode}>{children}</UIModeContext.Provider>
Expand Down

0 comments on commit 1e35ac7

Please sign in to comment.