Skip to content

Commit

Permalink
fix: fix payload value to show correct header outside of mobile conve…
Browse files Browse the repository at this point in the history
…rsation screen

Relates enBloc-org#236
  • Loading branch information
nichgalzin committed Jun 5, 2024
1 parent f36f90b commit 1c28629
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export default function Header() {

useEffect(() => {
if (pathname !== '/conversations') {
dispatch({ type: 'SET_SHOW_CONVERSATIONS_LIST', payload: false });
dispatch({ type: 'SET_SHOW_CONVERSATIONS_LIST', payload: true });
}
}, [pathname]);

Expand Down

0 comments on commit 1c28629

Please sign in to comment.