Skip to content

Commit

Permalink
fix: account in readonly
Browse files Browse the repository at this point in the history
  • Loading branch information
grothem committed Jan 3, 2025
1 parent 8b89cec commit 8eddcad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/web3-data-provider/Web3Provider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ export const Web3ContextProvider: React.FC<{ children: ReactElement }> = ({ chil

useEffect(() => {
if (readOnlyModeAddress) {
setAccount(readOnlyModeAddress);
setAccount(readOnlyModeAddress.toLowerCase());
}
}, [readOnlyModeAddress, setAccount]);

Expand Down

0 comments on commit 8eddcad

Please sign in to comment.