Skip to content

Commit 9fec4cc

Browse files
authored
[SDK] Fix: Deprecate test mode (#7396)
1 parent 9c420c0 commit 9fec4cc

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

packages/thirdweb/src/react/core/hooks/connection/ConnectButtonProps.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,9 @@ export type PayUIOptions = Prettify<
7777
buyWithCrypto?:
7878
| false
7979
| {
80+
/**
81+
* @deprecated
82+
*/
8083
testMode?: boolean;
8184
prefillSource?: {
8285
chain: Chain;
@@ -95,6 +98,9 @@ export type PayUIOptions = Prettify<
9598
*/
9699
buyWithFiat?:
97100
| {
101+
/**
102+
* @deprecated
103+
*/
98104
testMode?: boolean;
99105
prefillSource?: {
100106
currency?: CurrencyMeta["shorthand"];

0 commit comments

Comments
 (0)