Skip to content

Commit d87c23b

Browse files
committed
fix build
1 parent 43b06e1 commit d87c23b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

apps/playground-web/src/app/payments/components/LeftSection.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ import {
2727
import { TokenSelector } from "@/components/ui/TokenSelector";
2828
import { THIRDWEB_CLIENT } from "@/lib/client";
2929
import type { TokenMetadata } from "@/lib/types";
30+
import type { SupportedFiatCurrency } from "../../../../../../packages/thirdweb/dist/types/pay/convert/type";
3031
import { CollapsibleSection } from "../../wallets/sign-in/components/CollapsibleSection";
3132
import { ColorFormGroup } from "../../wallets/sign-in/components/ColorFormGroup";
3233
import 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
}}

apps/playground-web/src/app/payments/components/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

3333
export type BridgeComponentsPlaygroundOptions = {
3434
theme: {

0 commit comments

Comments
 (0)