Skip to content

Commit 5a4e5e3

Browse files
authored
fix(AccountSelector): falling behind on location.search for cookie overriden chosen account (#3769)
1 parent b766440 commit 5a4e5e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/frontend/src/components/PageLayout/useHeaderConfig.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ export const useHeaderConfig = (filterState?: FilterState): UseHeaderConfigOutpu
101101
});
102102
}
103103
},
104-
[parties, isProfile, location.pathname, navigate],
104+
[parties, isProfile, location.pathname, navigate, selectedParties, location.search],
105105
);
106106

107107
const handleShowDeletedUnitsChange = useCallback(

0 commit comments

Comments
 (0)