Skip to content

Commit 41bb01e

Browse files
committed
lint
1 parent 3de47ce commit 41bb01e

File tree

4 files changed

+22
-22
lines changed

4 files changed

+22
-22
lines changed

apps/dashboard/src/app/bridge/components/client/UniversalBridgeEmbed.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ export function UniversalBridgeEmbed({
2222
prefillBuy:
2323
chainId && token
2424
? {
25-
chain,
26-
token,
27-
amount,
28-
}
25+
chain,
26+
token,
27+
amount,
28+
}
2929
: undefined,
3030
}}
3131
theme={getSDKTheme(theme === "light" ? "light" : "dark")}

apps/dashboard/src/app/bridge/page.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,10 @@ export default async function BridgePage({
5454
token={
5555
symbol && decimals && tokenName
5656
? {
57-
address: tokenAddress as Address,
58-
name: tokenName,
59-
symbol,
60-
}
57+
address: tokenAddress as Address,
58+
name: tokenName,
59+
symbol,
60+
}
6161
: undefined
6262
}
6363
amount={amount as string}

apps/playground-web/src/app/connect/sign-in/button/RightSection.tsx

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,11 @@ export function RightSection(props: {
9090
const themeObj =
9191
connectOptions.theme.type === "dark"
9292
? darkTheme({
93-
colors: connectOptions.theme.darkColorOverrides,
94-
})
93+
colors: connectOptions.theme.darkColorOverrides,
94+
})
9595
: lightTheme({
96-
colors: connectOptions.theme.lightColorOverrides,
97-
});
96+
colors: connectOptions.theme.lightColorOverrides,
97+
});
9898

9999
useEffect(() => {
100100
if (!connectOptions.enableAuth) {
@@ -132,9 +132,9 @@ export function RightSection(props: {
132132
accountAbstraction={
133133
connectOptions.enableAccountAbstraction
134134
? {
135-
chain: sepolia,
136-
sponsorGas: true,
137-
}
135+
chain: sepolia,
136+
sponsorGas: true,
137+
}
138138
: undefined
139139
}
140140
/>
@@ -192,9 +192,9 @@ export function RightSection(props: {
192192
accountAbstraction={
193193
connectOptions.enableAccountAbstraction
194194
? {
195-
chain: sepolia,
196-
sponsorGas: true,
197-
}
195+
chain: sepolia,
196+
sponsorGas: true,
197+
}
198198
: undefined
199199
}
200200
termsOfServiceUrl={connectOptions.termsOfServiceLink}

packages/thirdweb/src/react/web/ui/PayEmbed.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
import { useEffect, useState } from "react";
44
import type { Chain } from "../../../chains/types.js";
55
import type { ThirdwebClient } from "../../../client/client.js";
6+
import type { Address } from "../../../utils/address.js";
67
import type { Wallet } from "../../../wallets/interfaces/wallet.js";
78
import type { SmartWalletOptions } from "../../../wallets/smart/types.js";
89
import type { AppMetadata } from "../../../wallets/types.js";
@@ -22,16 +23,15 @@ import { useActiveWallet } from "../../core/hooks/wallets/useActiveWallet.js";
2223
import { useConnectionManager } from "../../core/providers/connection-manager.js";
2324
import type { SupportedTokens } from "../../core/utils/defaultTokens.js";
2425
import { AutoConnect } from "../../web/ui/AutoConnect/AutoConnect.js";
26+
import { BuyWidget } from "./Bridge/BuyWidget.js";
27+
import { CheckoutWidget } from "./Bridge/CheckoutWidget.js";
28+
import { TransactionWidget } from "./Bridge/TransactionWidget.js";
2529
import { EmbedContainer } from "./ConnectWallet/Modal/ConnectEmbed.js";
2630
import { useConnectLocale } from "./ConnectWallet/locale/getConnectLocale.js";
2731
import BuyScreen from "./ConnectWallet/screens/Buy/BuyScreen.js";
2832
import { DynamicHeight } from "./components/DynamicHeight.js";
2933
import { Spinner } from "./components/Spinner.js";
3034
import type { LocaleId } from "./types.js";
31-
import { BuyWidget } from "./Bridge/BuyWidget.js";
32-
import type { Address } from "../../../utils/address.js";
33-
import { CheckoutWidget } from "./Bridge/CheckoutWidget.js";
34-
import { TransactionWidget } from "./Bridge/TransactionWidget.js";
3535

3636
/**
3737
* Props of [`PayEmbed`](https://portal.thirdweb.com/references/typescript/v5/PayEmbed) component

0 commit comments

Comments
 (0)