Skip to content

Commit

Permalink
fix: Remove hardcoded chains
Browse files Browse the repository at this point in the history
  • Loading branch information
cyaiox committed Oct 29, 2024
1 parent 863bab4 commit 2f33bb9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/renderer/src/components/AuthProvider/component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,10 @@ export const AuthProvider: React.FC<{ children: ReactNode }> = ({ children }) =>

useEffect(() => {
if (wallet && chainId) {
dispatch(fetchENSList({ address: wallet, chainId: ChainId.ETHEREUM_SEPOLIA }));
dispatch(fetchENSList({ address: wallet, chainId }));
dispatch(identify({ userId: wallet }));
dispatch(fetchTiles({ chainId: ChainId.ETHEREUM_SEPOLIA }));
dispatch(fetchLandList({ address: wallet, chainId: ChainId.ETHEREUM_SEPOLIA }));
dispatch(fetchTiles({ chainId }));
dispatch(fetchLandList({ address: wallet, chainId }));
}
}, [wallet, chainId]);

Expand Down

0 comments on commit 2f33bb9

Please sign in to comment.