Skip to content

Commit 04971a1

Browse files
committed
fix build
1 parent 013cf42 commit 04971a1

9 files changed

+18
-18
lines changed

packages/thirdweb/src/stories/Bridge/DirectPayment.stories.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { DirectPayment } from "../../react/web/ui/Bridge/DirectPayment.js";
33
import { ModalThemeWrapper, storyClient } from "../utils.js";
44
import { DIRECT_PAYMENT_UI_OPTIONS } from "./fixtures.js";
55

6-
const meta = {
6+
const meta: Meta<typeof DirectPayment> = {
77
args: {
88
client: storyClient,
99
onContinue: (_amount, _token, _receiverAddress) => {},
@@ -19,7 +19,7 @@ const meta = {
1919
),
2020
],
2121
title: "Bridge/DirectPayment",
22-
} satisfies Meta<typeof DirectPayment>;
22+
};
2323

2424
export default meta;
2525
type Story = StoryObj<typeof meta>;

packages/thirdweb/src/stories/Bridge/ErrorBanner.stories.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const mockInsufficientFundsError = new Error(
1111
);
1212
const mockGenericError = new Error("An unexpected error occurred.");
1313

14-
const meta = {
14+
const meta: Meta<typeof ErrorBanner> = {
1515
args: {
1616
onCancel: () => {},
1717
onRetry: () => {},
@@ -26,7 +26,7 @@ const meta = {
2626
),
2727
],
2828
title: "Bridge/ErrorBanner",
29-
} satisfies Meta<typeof ErrorBanner>;
29+
};
3030

3131
export default meta;
3232
type Story = StoryObj<typeof meta>;

packages/thirdweb/src/stories/Bridge/FundWallet.stories.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { FundWallet } from "../../react/web/ui/Bridge/FundWallet.js";
33
import { ModalThemeWrapper, storyClient } from "../utils.js";
44
import { FUND_WALLET_UI_OPTIONS, RECEIVER_ADDRESSES } from "./fixtures.js";
55

6-
const meta = {
6+
const meta: Meta<typeof FundWallet> = {
77
args: {
88
client: storyClient,
99
onContinue: (amount, token, receiverAddress) => {
@@ -25,7 +25,7 @@ const meta = {
2525
],
2626
component: FundWallet,
2727
title: "Bridge/FundWallet",
28-
} satisfies Meta<typeof FundWallet>;
28+
};
2929

3030
export default meta;
3131
type Story = StoryObj<typeof meta>;

packages/thirdweb/src/stories/Bridge/PaymentDetails.stories.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ const ethCryptoPaymentMethod: PaymentMethod = JSON.parse(
5858
}),
5959
);
6060

61-
const meta = {
61+
const meta: Meta<typeof PaymentDetails> = {
6262
args: {
6363
onBack: () => {},
6464
onConfirm: () => {},
@@ -84,7 +84,7 @@ const meta = {
8484
],
8585
component: PaymentDetails,
8686
title: "Bridge/PaymentDetails",
87-
} satisfies Meta<typeof PaymentDetails>;
87+
};
8888

8989
export default meta;
9090
type Story = StoryObj<typeof meta>;

packages/thirdweb/src/stories/Bridge/PaymentSelection.stories.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import en from "../../react/web/ui/ConnectWallet/locale/en.js";
44
import { ModalThemeWrapper, storyClient } from "../utils.js";
55
import { USDC } from "./fixtures.js";
66

7-
const meta = {
7+
const meta: Meta<typeof PaymentSelection> = {
88
args: {
99
client: storyClient,
1010
onBack: () => {
@@ -33,7 +33,7 @@ const meta = {
3333
],
3434
component: PaymentSelection,
3535
title: "Bridge/PaymentSelection",
36-
} satisfies Meta<typeof PaymentSelection>;
36+
};
3737

3838
export default meta;
3939
type Story = StoryObj<typeof meta>;

packages/thirdweb/src/stories/Bridge/StepRunner.stories.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import {
99
simpleBuyRequest,
1010
} from "./fixtures.js";
1111

12-
const meta = {
12+
const meta: Meta<typeof StepRunner> = {
1313
args: {
1414
client: storyClient,
1515
onCancel: () => {},
@@ -33,7 +33,7 @@ const meta = {
3333
layout: "centered",
3434
},
3535
title: "Bridge/StepRunner",
36-
} satisfies Meta<typeof StepRunner>;
36+
};
3737

3838
export default meta;
3939
type Story = StoryObj<typeof meta>;

packages/thirdweb/src/stories/Bridge/SuccessScreen.stories.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ const mockOnrampCompletedStatuses: CompletedStatusResult[] = JSON.parse(
6666
]),
6767
);
6868

69-
const meta = {
69+
const meta: Meta<typeof SuccessScreen> = {
7070
args: {
7171
completedStatuses: mockBuyCompletedStatuses,
7272
onDone: () => {},
@@ -85,7 +85,7 @@ const meta = {
8585
),
8686
],
8787
title: "Bridge/SuccessScreen",
88-
} satisfies Meta<typeof SuccessScreen>;
88+
};
8989

9090
export default meta;
9191
type Story = StoryObj<typeof meta>;

packages/thirdweb/src/stories/Bridge/TransactionPayment.stories.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { TransactionPayment } from "../../react/web/ui/Bridge/TransactionPayment
33
import { ModalThemeWrapper, storyClient } from "../utils.js";
44
import { TRANSACTION_UI_OPTIONS } from "./fixtures.js";
55

6-
const meta = {
6+
const meta: Meta<typeof TransactionPayment> = {
77
args: {
88
client: storyClient,
99
onExecuteTransaction: () => {},
@@ -20,7 +20,7 @@ const meta = {
2020
),
2121
],
2222
title: "Bridge/TransactionPayment",
23-
} satisfies Meta<typeof TransactionPayment>;
23+
};
2424

2525
export default meta;
2626
type Story = StoryObj<typeof meta>;

packages/thirdweb/src/stories/Bridge/UnsupportedTokenScreen.stories.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { NATIVE_TOKEN_ADDRESS } from "../../constants/addresses.js";
44
import { UnsupportedTokenScreen } from "../../react/web/ui/Bridge/UnsupportedTokenScreen.js";
55
import { ModalThemeWrapper, storyClient } from "../utils.js";
66

7-
const meta = {
7+
const meta: Meta<typeof UnsupportedTokenScreen> = {
88
args: {
99
client: storyClient,
1010
chain: defineChain(1),
@@ -19,7 +19,7 @@ const meta = {
1919
</ModalThemeWrapper>
2020
),
2121
],
22-
} satisfies Meta<typeof UnsupportedTokenScreen>;
22+
};
2323

2424
export default meta;
2525
type Story = StoryObj<typeof meta>;

0 commit comments

Comments
 (0)