diff --git a/apps/dashboard/src/components/contract-components/contract-publish-form/custom-factory.tsx b/apps/dashboard/src/components/contract-components/contract-publish-form/custom-factory.tsx index cb98e767365..66eae212eef 100644 --- a/apps/dashboard/src/components/contract-components/contract-publish-form/custom-factory.tsx +++ b/apps/dashboard/src/components/contract-components/contract-publish-form/custom-factory.tsx @@ -106,7 +106,7 @@ export const CustomFactory: React.FC = ({ ))} - +
- +
diff --git a/apps/dashboard/src/components/contract-components/contract-publish-form/external-links-fieldset.tsx b/apps/dashboard/src/components/contract-components/contract-publish-form/external-links-fieldset.tsx index e8849b762e7..daf477bc656 100644 --- a/apps/dashboard/src/components/contract-components/contract-publish-form/external-links-fieldset.tsx +++ b/apps/dashboard/src/components/contract-components/contract-publish-form/external-links-fieldset.tsx @@ -1,4 +1,4 @@ -import { Box, Flex, Icon } from "@chakra-ui/react"; +import { Flex, Icon } from "@chakra-ui/react"; import { useEffect } from "react"; import { useFieldArray, useFormContext } from "react-hook-form"; import { FiPlus } from "react-icons/fi"; @@ -37,7 +37,7 @@ export const ExternalLinksFieldset = () => { {fields.map((item, index) => ( ))} - +
- +
); diff --git a/apps/dashboard/src/components/contract-components/contract-publish-form/index.tsx b/apps/dashboard/src/components/contract-components/contract-publish-form/index.tsx index 91cc6cbf563..c0b67d2338e 100644 --- a/apps/dashboard/src/components/contract-components/contract-publish-form/index.tsx +++ b/apps/dashboard/src/components/contract-components/contract-publish-form/index.tsx @@ -295,7 +295,7 @@ export function ContractPublishForm(props: { gap={6} > {fieldsetToShow !== "landing" && ( - +
Back - +
)} {fieldsetToShow === "landing" && ( = ({ - +
README @@ -186,9 +186,9 @@ export const LandingFieldset: React.FC = ({ - +
- +
Version information @@ -267,8 +267,8 @@ export const LandingFieldset: React.FC = ({ - - +
+
Deployment options @@ -294,7 +294,7 @@ export const LandingFieldset: React.FC = ({ width="full" /> - +
); }; diff --git a/apps/dashboard/src/components/devRelEvents/DevRelEvent.tsx b/apps/dashboard/src/components/devRelEvents/DevRelEvent.tsx index ad0b5894dc0..bf834a5a1be 100644 --- a/apps/dashboard/src/components/devRelEvents/DevRelEvent.tsx +++ b/apps/dashboard/src/components/devRelEvents/DevRelEvent.tsx @@ -1,4 +1,4 @@ -import { Box, Flex, Icon, Image } from "@chakra-ui/react"; +import { Flex, Icon, Image } from "@chakra-ui/react"; import { useTrack } from "hooks/analytics/useTrack"; import { FiCalendar, FiClock } from "react-icons/fi"; import { Card, Heading, LinkButton, Text } from "tw-components"; @@ -75,7 +75,7 @@ export const DevRelEvent: React.FC = ({ - +
@@ -92,7 +92,7 @@ export const DevRelEvent: React.FC = ({ > Register - +
); diff --git a/apps/dashboard/src/components/homepage/CodeBlock/index.tsx b/apps/dashboard/src/components/homepage/CodeBlock/index.tsx index 1d624004315..0bed55186d7 100644 --- a/apps/dashboard/src/components/homepage/CodeBlock/index.tsx +++ b/apps/dashboard/src/components/homepage/CodeBlock/index.tsx @@ -209,26 +209,24 @@ export const HomePageCodeBlock: React.FC = ({ as={Code} h="full" > - - - - {tokens.map((line, i) => ( - // biome-ignore lint/suspicious/noArrayIndexKey: FIXME - - - {line.map((token, key) => ( - // biome-ignore lint/suspicious/noArrayIndexKey: FIXME - - ))} - - ))} - +
+ + {tokens.map((line, i) => ( + // biome-ignore lint/suspicious/noArrayIndexKey: FIXME + + + {line.map((token, key) => ( + // biome-ignore lint/suspicious/noArrayIndexKey: FIXME + + ))} + + ))} - +
)} diff --git a/apps/dashboard/src/components/homepage/sections/Solutions.tsx b/apps/dashboard/src/components/homepage/sections/Solutions.tsx index a9db411d4f4..e7ad8db16f0 100644 --- a/apps/dashboard/src/components/homepage/sections/Solutions.tsx +++ b/apps/dashboard/src/components/homepage/sections/Solutions.tsx @@ -1,5 +1,4 @@ import { - Box, Flex, Image, LinkBox, @@ -85,7 +84,7 @@ const SolutionCard: React.FC = ({ py={{ base: 10 }} flexGrow={1} > - +
= ({ {description} - +
); diff --git a/apps/dashboard/src/components/onboarding/PlanCard.tsx b/apps/dashboard/src/components/onboarding/PlanCard.tsx index a5e4dd27b7b..0bf9b8f688c 100644 --- a/apps/dashboard/src/components/onboarding/PlanCard.tsx +++ b/apps/dashboard/src/components/onboarding/PlanCard.tsx @@ -1,4 +1,4 @@ -import { Box, Flex, ListItem, UnorderedList } from "@chakra-ui/react"; +import { Flex, ListItem, UnorderedList } from "@chakra-ui/react"; import { Badge, Card, Heading, LinkButton, Text } from "tw-components"; import type { CreditsRecord } from "./ApplyForOpCreditsModal"; @@ -10,7 +10,7 @@ export const PlanCard: React.FC = ({ creditsRecord }) => { return ( - +
= ({ creditsRecord }) => { > {creditsRecord.title} - +
{creditsRecord.upTo ? "Up to" : "\u00A0"} diff --git a/apps/dashboard/src/components/smart-wallets/SponsorshipPolicies/index.tsx b/apps/dashboard/src/components/smart-wallets/SponsorshipPolicies/index.tsx index 4abec0ddb68..bd025eaece2 100644 --- a/apps/dashboard/src/components/smart-wallets/SponsorshipPolicies/index.tsx +++ b/apps/dashboard/src/components/smart-wallets/SponsorshipPolicies/index.tsx @@ -274,7 +274,7 @@ export function AccountAbstractionSettingsPage(
- +
Global spend limits Maximum gas cost (in USD) that you want to sponsor. This @@ -282,7 +282,7 @@ export function AccountAbstractionSettingsPage( this limit is reached, your users will have to fund their own gas costs. - +
- +
Restrict to specific chains @@ -361,7 +361,7 @@ export function AccountAbstractionSettingsPage( supported chains. - +
- +
Restrict to specific contract addresses Only sponsor transactions for the specified contracts. - +
- +
Allowlisted/Blocklisted accounts @@ -452,7 +452,7 @@ export function AccountAbstractionSettingsPage( Select either allowlisted or blockedlisted accounts. Disabling this option will allow all accounts. - +
- +
Server verifier Specify your own endpoint that will verify each transaction @@ -536,7 +536,7 @@ export function AccountAbstractionSettingsPage( . - +
- +
Admin accounts These accounts won't be subject to any sponsorship rules. All transactions will be sponsored. - +
+
{(Object.keys(enabledWallets) as WalletIdSubset[]).map( @@ -293,7 +293,7 @@ export const MiniPlayground: React.FC<{ - +
{/* Social Logins */} diff --git a/apps/dashboard/src/components/wallets/ConnectWalletPlayground/FormItem.tsx b/apps/dashboard/src/components/wallets/ConnectWalletPlayground/FormItem.tsx index 6c1b28e4bfa..0ec46bae67e 100644 --- a/apps/dashboard/src/components/wallets/ConnectWalletPlayground/FormItem.tsx +++ b/apps/dashboard/src/components/wallets/ConnectWalletPlayground/FormItem.tsx @@ -1,4 +1,4 @@ -import { Box, Flex, FormControl, Tooltip } from "@chakra-ui/react"; +import { Flex, FormControl, Tooltip } from "@chakra-ui/react"; import { AiOutlineInfoCircle } from "react-icons/ai"; import { FormLabel } from "tw-components"; @@ -23,7 +23,7 @@ export const FormItem: React.FC<{ borderRadius="md" px={3} py={2} - label={{props.description}} + label={
{props.description}
} >
diff --git a/apps/dashboard/src/contract-ui/tabs/events/components/events-feed.tsx b/apps/dashboard/src/contract-ui/tabs/events/components/events-feed.tsx index f77bef1ec73..67a316da13b 100644 --- a/apps/dashboard/src/contract-ui/tabs/events/components/events-feed.tsx +++ b/apps/dashboard/src/contract-ui/tabs/events/components/events-feed.tsx @@ -109,7 +109,7 @@ export const EventsFeed: React.FC = ({ contract }) => { ))} - +
Auto-Update @@ -122,7 +122,7 @@ export const EventsFeed: React.FC = ({ contract }) => { /> - +
= ({ {transaction.blockNumber} - +
- +
diff --git a/apps/dashboard/src/contract-ui/tabs/nfts/components/lazy-mint-form.tsx b/apps/dashboard/src/contract-ui/tabs/nfts/components/lazy-mint-form.tsx index e63feda1d2b..237c3271ae0 100644 --- a/apps/dashboard/src/contract-ui/tabs/nfts/components/lazy-mint-form.tsx +++ b/apps/dashboard/src/contract-ui/tabs/nfts/components/lazy-mint-form.tsx @@ -4,7 +4,6 @@ import { AccordionIcon, AccordionItem, AccordionPanel, - Box, Divider, DrawerBody, DrawerFooter, @@ -197,7 +196,7 @@ export const LazyMintNftForm: React.FC = ({ Media - +
= ({ selectOrUpload="Upload" helperText="Media" /> - +
You can upload image, audio, video, html, text, pdf, and 3d model files here. diff --git a/apps/dashboard/src/contract-ui/tabs/nfts/components/mint-form.tsx b/apps/dashboard/src/contract-ui/tabs/nfts/components/mint-form.tsx index 2883f03d124..48c8ca01cb5 100644 --- a/apps/dashboard/src/contract-ui/tabs/nfts/components/mint-form.tsx +++ b/apps/dashboard/src/contract-ui/tabs/nfts/components/mint-form.tsx @@ -4,7 +4,6 @@ import { AccordionIcon, AccordionItem, AccordionPanel, - Box, Divider, DrawerBody, DrawerFooter, @@ -207,7 +206,7 @@ export const NFTMintForm: React.FC = ({ contract, isErc721 }) => {
Media - +
= ({ contract, isErc721 }) => { selectOrUpload="Upload" helperText="Media" /> - +
You can upload image, audio, video, html, text, pdf, and 3d model files here. diff --git a/apps/dashboard/src/contract-ui/tabs/nfts/components/shared-metadata-form.tsx b/apps/dashboard/src/contract-ui/tabs/nfts/components/shared-metadata-form.tsx index 45ec6179d0a..91a92e18c6b 100644 --- a/apps/dashboard/src/contract-ui/tabs/nfts/components/shared-metadata-form.tsx +++ b/apps/dashboard/src/contract-ui/tabs/nfts/components/shared-metadata-form.tsx @@ -4,7 +4,6 @@ import { AccordionIcon, AccordionItem, AccordionPanel, - Box, Divider, DrawerBody, DrawerFooter, @@ -188,7 +187,7 @@ export const SharedMetadataForm: React.FC<{
Media - +
- +
You can upload image, audio, video, html, text, pdf, and 3d model files here. diff --git a/apps/dashboard/src/contract-ui/tabs/nfts/components/update-metadata-form.tsx b/apps/dashboard/src/contract-ui/tabs/nfts/components/update-metadata-form.tsx index 1f7b68a6099..786c16fb456 100644 --- a/apps/dashboard/src/contract-ui/tabs/nfts/components/update-metadata-form.tsx +++ b/apps/dashboard/src/contract-ui/tabs/nfts/components/update-metadata-form.tsx @@ -4,7 +4,6 @@ import { AccordionIcon, AccordionItem, AccordionPanel, - Box, Divider, DrawerBody, DrawerFooter, @@ -273,7 +272,7 @@ export const UpdateNftMetadata: React.FC = ({ />
)} - +
= ({ selectOrUpload="Upload" helperText={nft?.metadata ? "New Media" : "Media"} /> - +
You can upload image, audio, video, html, text, pdf, and 3d model files here. diff --git a/apps/dashboard/src/contract-ui/tabs/overview/components/LatestEvents.tsx b/apps/dashboard/src/contract-ui/tabs/overview/components/LatestEvents.tsx index 5529e777b07..9c5956a55f1 100644 --- a/apps/dashboard/src/contract-ui/tabs/overview/components/LatestEvents.tsx +++ b/apps/dashboard/src/contract-ui/tabs/overview/components/LatestEvents.tsx @@ -115,7 +115,7 @@ const EventsFeedItem: React.FC = ({ transaction }) => { const href = useTabHref("events"); return ( - +
= ({ transaction }) => { )} - +
); }; diff --git a/apps/dashboard/src/contract-ui/tabs/overview/components/PermissionsTable.tsx b/apps/dashboard/src/contract-ui/tabs/overview/components/PermissionsTable.tsx index 05f8fc80aba..ec596d5759e 100644 --- a/apps/dashboard/src/contract-ui/tabs/overview/components/PermissionsTable.tsx +++ b/apps/dashboard/src/contract-ui/tabs/overview/components/PermissionsTable.tsx @@ -130,7 +130,7 @@ const PermissionsItem: React.FC = ({ data }) => { const { onCopy } = useClipboard(data.member); return ( - +
= ({ data }) => { )} - +
); }; diff --git a/apps/dashboard/src/contract-ui/tabs/settings/components/metadata.tsx b/apps/dashboard/src/contract-ui/tabs/settings/components/metadata.tsx index 754e20ff473..968b38575d0 100644 --- a/apps/dashboard/src/contract-ui/tabs/settings/components/metadata.tsx +++ b/apps/dashboard/src/contract-ui/tabs/settings/components/metadata.tsx @@ -1,6 +1,5 @@ import { AdminOnly } from "@3rdweb-sdk/react/components/roles/admin-only"; import { - Box, Flex, FormControl, Icon, @@ -309,7 +308,7 @@ export const SettingsMetadata = ({ ))} - +
- +
diff --git a/apps/dashboard/src/contract-ui/tabs/tokens/page.tsx b/apps/dashboard/src/contract-ui/tabs/tokens/page.tsx index f071704489e..4203346121f 100644 --- a/apps/dashboard/src/contract-ui/tabs/tokens/page.tsx +++ b/apps/dashboard/src/contract-ui/tabs/tokens/page.tsx @@ -1,4 +1,4 @@ -import { Box, ButtonGroup, Flex } from "@chakra-ui/react"; +import { ButtonGroup, Flex } from "@chakra-ui/react"; import type { ThirdwebContract } from "thirdweb"; import { Card, Heading, LinkButton, Text } from "tw-components"; import { TokenAirdropButton } from "./components/airdrop-button"; @@ -30,7 +30,7 @@ export const ContractTokensPage: React.FC = ({ To enable Token features you will have to extend an ERC20 interface in your contract. - +
= ({ > Learn more - +
); } diff --git a/apps/dashboard/src/core-ui/sidebar/detail-page.tsx b/apps/dashboard/src/core-ui/sidebar/detail-page.tsx index 6f7c46db9c1..6e609e1c37c 100644 --- a/apps/dashboard/src/core-ui/sidebar/detail-page.tsx +++ b/apps/dashboard/src/core-ui/sidebar/detail-page.tsx @@ -136,18 +136,18 @@ const NavLinkSection: React.FC = ({ {link.title} {link.isBeta && ( - +
Beta - +
)} {link.isDeprecated && ( - +
Deprecated - +
)}
diff --git a/apps/dashboard/src/pages/templates.tsx b/apps/dashboard/src/pages/templates.tsx index 08f0545cf79..739c066acee 100644 --- a/apps/dashboard/src/pages/templates.tsx +++ b/apps/dashboard/src/pages/templates.tsx @@ -311,7 +311,7 @@ const TemplateCard: React.FC = ({ py={{ base: 10 }} flexGrow={1} > - +
= ({ > {description} - +