Skip to content

Commit

Permalink
fix: added the missing dependency incase of first render after signnup (
Browse files Browse the repository at this point in the history
  • Loading branch information
hamza-deriv committed Jan 5, 2023
1 parent 84a8f49 commit 469a0a9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const TradeHeaderExtensions = ({
);

populateHeaderExtensions(header_items);
}, [populateHeaderExtensions, store, show_positions_toggle]);
}, [populateHeaderExtensions, store, show_positions_toggle, is_populating_account_list]);

React.useEffect(() => {
const waitForLogin = async () => {
Expand Down

0 comments on commit 469a0a9

Please sign in to comment.