File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
apps/playground-web/src/app/payments/components Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ import {
2727import { TokenSelector } from "@/components/ui/TokenSelector" ;
2828import { THIRDWEB_CLIENT } from "@/lib/client" ;
2929import type { TokenMetadata } from "@/lib/types" ;
30+ import type { SupportedFiatCurrency } from "../../../../../../packages/thirdweb/dist/types/pay/convert/type" ;
3031import { CollapsibleSection } from "../../wallets/sign-in/components/CollapsibleSection" ;
3132import { ColorFormGroup } from "../../wallets/sign-in/components/ColorFormGroup" ;
3233import type { BridgeComponentsPlaygroundOptions } from "./types" ;
@@ -155,7 +156,7 @@ export function LeftSection(props: {
155156 ...v ,
156157 payOptions : {
157158 ...v . payOptions ,
158- currency : value ,
159+ currency : value as SupportedFiatCurrency ,
159160 } ,
160161 } ) ) ;
161162 } }
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ const CURRENCIES = [
2828 "ISK" ,
2929] as const ;
3030
31- type SupportedFiatCurrency = ( typeof CURRENCIES ) [ number ] | ( string & { } ) ;
31+ type SupportedFiatCurrency = ( typeof CURRENCIES ) [ number ] ;
3232
3333export type BridgeComponentsPlaygroundOptions = {
3434 theme : {
You can’t perform that action at this time.
0 commit comments