Skip to content

Commit

Permalink
fix: added TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
rupato-deriv committed Nov 7, 2024
1 parent b74b256 commit 33c6390
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/components/layout/header/account-switcher.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,6 @@ const RenderAccountItems = ({ isVirtual, modifiedAccountList, switchAccount }: T
if (account_data) account_data.current = account_info;
}, [client, modifiedAccountList]);

Check warning on line 50 in src/components/layout/header/account-switcher.tsx

View workflow job for this annotation

GitHub Actions / build_to_cloudflare_pages

React Hook useCallback has a missing dependency: 'isVirtual'. Either include it or remove the dependency array

console.log('test', account_data.current);

useEffect(() => {
fetchAccountSwitcherData();
}, []);

Check warning on line 54 in src/components/layout/header/account-switcher.tsx

View workflow job for this annotation

GitHub Actions / build_to_cloudflare_pages

React Hook useEffect has a missing dependency: 'fetchAccountSwitcherData'. Either include it or remove the dependency array
Expand Down

0 comments on commit 33c6390

Please sign in to comment.