Skip to content

Commit f5c25c4

Browse files
committed
Dashboard: Temporarily remove gas sponsorship option in token creation
1 parent 5f74b3c commit f5c25c4

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/tokens/create/nft/launch/launch-nft.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -155,10 +155,10 @@ export function LaunchNFT(props: {
155155
return shouldDeployERC721 ? "erc721" : "erc1155";
156156
}, [formValues.nfts]);
157157

158-
const canEnableGasless =
159-
props.teamPlan !== "free" && activeWallet?.id === "inApp";
158+
// TODO: enable later when bundler changes are done
159+
const canEnableGasless = false // props.teamPlan !== "free" && activeWallet?.id === "inApp";
160160
const [isGasless, setIsGasless] = useState(canEnableGasless);
161-
const showGaslessSection = activeWallet?.id === "inApp";
161+
const showGaslessSection = false // activeWallet?.id === "inApp";
162162

163163
const contractLink = contractAddressRef.current
164164
? `/team/${props.teamSlug}/${props.projectSlug}/contract/${formValues.collectionInfo.chain}/${contractAddressRef.current}`

apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/tokens/create/token/launch/launch-token.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,10 @@ export function LaunchTokenStatus(props: {
6464
const activeWallet = useActiveWallet();
6565
const walletRequiresApproval = activeWallet?.id !== "inApp";
6666

67-
const canEnableGasless =
68-
props.teamPlan !== "free" && activeWallet?.id === "inApp";
67+
// TODO: enable later when bundler changes are done
68+
const canEnableGasless = false //props.teamPlan !== "free" && activeWallet?.id === "inApp";
6969
const [isGasless, setIsGasless] = useState(canEnableGasless);
70-
const showGaslessSection = activeWallet?.id === "inApp";
70+
const showGaslessSection = false // activeWallet?.id === "inApp";
7171
const { idToChain } = useAllChainsData();
7272
const chainMetadata = idToChain.get(Number(formValues.chain));
7373

0 commit comments

Comments
 (0)