Skip to content

Commit

Permalink
(typing) allow readonly array of wallets for WalletProvider
Browse files Browse the repository at this point in the history
  • Loading branch information
dearlordylord authored Aug 26, 2024
1 parent 3761cd8 commit 426fb74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/react/src/WalletProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import { WalletProviderBase } from './WalletProviderBase.js';

export interface WalletProviderProps {
children: ReactNode;
wallets: Adapter[];
wallets: readonly Adapter[];
autoConnect?: boolean | ((adapter: Adapter) => Promise<boolean>);
localStorageKey?: string;
onError?: (error: WalletError, adapter?: Adapter) => void;
Expand Down

0 comments on commit 426fb74

Please sign in to comment.