Skip to content

Commit 2092a5a

Browse files
committed
fix: unit
1 parent db98bf9 commit 2092a5a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

demo/redirect-flow-example/src/composibles/useCoreKit.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ interface CoreKitContextType {
5656
setKeyType: React.Dispatch<React.SetStateAction<KeyType>>;
5757
keyType: KeyType;
5858
networkName: "ETH" | "SOL" | "BTC" | undefined;
59-
coin: "ETH" | "SOL" | "SATS" | undefined;
59+
coin: "ETH" | "SOL" | "tBTC" | undefined;
6060
}
6161

6262
// Create the context with default values
@@ -121,7 +121,7 @@ export const CoreKitProvider: React.FC<CoreKitProviderProps> = ({ children }) =>
121121
const [existingModules, setExistingModules] = React.useState<string[]>([]);
122122
const [keyType, setKeyType] = React.useState<KeyType>(localStorage.getItem("keyType") as KeyType || KeyType.secp256k1);
123123
const [networkName, setNetworkName] = useState<"ETH" | "SOL" | "BTC">();
124-
const [coin, setCoin] = useState<"ETH" | "SOL" | "SATS">();
124+
const [coin, setCoin] = useState<"ETH" | "SOL" | "tBTC">();
125125

126126
useEffect(() => {
127127
localStorage.setItem("keyType", keyType);
@@ -131,7 +131,7 @@ export const CoreKitProvider: React.FC<CoreKitProviderProps> = ({ children }) =>
131131
);
132132
setCoin(keyType === KeyType.secp256k1 ? "ETH"
133133
: keyType === KeyType.ed25519 ? "SOL"
134-
: "SATS"
134+
: "tBTC"
135135
);
136136
setCoreKitInstance(new Web3AuthMPCCoreKit({
137137
...initialWeb3AuthConfig,

0 commit comments

Comments
 (0)