Skip to content

Commit 42a0f64

Browse files
committed
fix: fix types
1 parent d20dd66 commit 42a0f64

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/ui/src/react/types.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ export interface SwapKitState {
77
walletType: WalletOption | null;
88
isWalletConnected: boolean;
99
isConnectingWallet: boolean;
10-
keystoreFile: KeystoreFile;
10+
keystoreFile: KeystoreFile | null;
1111
isKeystoreOpen: boolean;
1212
isKeystoreDecrypting: boolean;
1313

1414
setSwapKit: (swapKit: ReturnType<typeof createSwapKit> | null) => void;
1515
setWalletState: (state: { connected: boolean; type: WalletOption | null }) => void;
16-
setKeystoreFile: (file: KeystoreFile) => void;
16+
setKeystoreFile: (file: KeystoreFile | null) => void;
1717
setIsKeystoreOpen: (isOpen: boolean) => void;
1818
setIsKeystoreDecrypting: (isDecrypting: boolean) => void;
1919
setIsConnectingWallet: (isConnectingWallet: boolean) => void;

0 commit comments

Comments
 (0)