File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
demo/redirect-flow-example/src/composibles Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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 ,
You can’t perform that action at this time.
0 commit comments