diff --git a/src/components/dapp/WalletButton.tsx b/src/components/dapp/WalletButton.tsx
index 85e4a423..8349d055 100644
--- a/src/components/dapp/WalletButton.tsx
+++ b/src/components/dapp/WalletButton.tsx
@@ -16,36 +16,27 @@ import WalletConnectors from "./WalletConnectors";
export type WalletButton = ButtonProps;
export default function WalletButton(props: ButtonProps) {
- const {
- address,
- disconnect,
- connected,
- connector,
- chainId,
- switchChain,
- chains,
- } = useWalletContext();
+ const { address, disconnect, connected, connector, chainId, switchChain, chains } = useWalletContext();
const chainOptions = useMemo(() => {
if (!chains) return [];
- return chains.reduce((obj, chain) => {
- obj[chain.id] = (
-
-
- {chain.name}
-
- );
- return obj;
- }, {} as { [chainId: number]: ReactNode });
+ return chains.reduce(
+ (obj, chain) => {
+ obj[chain.id] = (
+
+
+ {chain.name}
+
+ );
+ return obj;
+ },
+ {} as { [chainId: number]: ReactNode },
+ );
}, [chains]);
if (!connected)
return (
- }
- >
+ }>
@@ -54,10 +45,7 @@ export default function WalletButton(props: ButtonProps) {
return (
<>
-