Skip to content

Commit

Permalink
Update index.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
daoauth committed Mar 3, 2025
1 parent b1f4653 commit a08e7d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/walrus-wallet/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ interface IWalrusWalletProps {
name: string;
icon: `data:image/${'svg+xml' | 'webp' | 'png' | 'gif'};base64,${string}`;
network: NETWORK;
mode: 'dark' | 'light';
mode?: 'dark' | 'light';
sponsored?: string;
zklogin?: {
enokey: string;
Expand Down Expand Up @@ -146,7 +146,7 @@ const WalrusWalletRoot = ({
const root = ReactDOM.createRoot(container);
root.render(
<QRScan
mode={mode}
mode={mode || 'light'}
wallet={wallet}
onEvent={onEvent}
onClose={(result) => {
Expand Down

0 comments on commit a08e7d5

Please sign in to comment.