diff --git a/packages/commonwealth/client/scripts/views/pages/LaunchToken/QuickTokenLaunchForm/QuickTokenLaunchForm.tsx b/packages/commonwealth/client/scripts/views/pages/LaunchToken/QuickTokenLaunchForm/QuickTokenLaunchForm.tsx index df076f850e2..018b6358eeb 100644 --- a/packages/commonwealth/client/scripts/views/pages/LaunchToken/QuickTokenLaunchForm/QuickTokenLaunchForm.tsx +++ b/packages/commonwealth/client/scripts/views/pages/LaunchToken/QuickTokenLaunchForm/QuickTokenLaunchForm.tsx @@ -23,7 +23,6 @@ import { CWButton } from 'views/components/component_kit/new_designs/CWButton'; import CWCircleMultiplySpinner from 'views/components/component_kit/new_designs/CWCircleMultiplySpinner'; import { CWTooltip } from 'views/components/component_kit/new_designs/CWTooltip'; import TokenLaunchButton from 'views/components/sidebar/TokenLaunchButton'; -import { useTurnstile } from 'views/components/useTurnstile'; import { openConfirmation } from 'views/modals/confirmation_modal'; import useCreateTokenCommunity from '../useCreateTokenCommunity'; import './QuickTokenLaunchForm.scss'; @@ -52,15 +51,6 @@ export const QuickTokenLaunchForm = ({ }: QuickTokenLaunchFormProps) => { const tokenizedThreadsEnabled = useFlag('tokenizedThreads'); - const { - turnstileToken, - isTurnstileEnabled, - TurnstileWidget, - resetTurnstile, - } = useTurnstile({ - action: 'create-community', - }); - const timeoutRef = useRef(undefined); const { generateIdea, @@ -216,7 +206,6 @@ export const QuickTokenLaunchForm = ({ socialLinks: [], chainNodeId: baseNode.id, tokenizeCommunity: tokenizedThreadsEnabled ? true : false, - turnstileToken: turnstileToken || undefined, }); let response; @@ -305,9 +294,6 @@ export const QuickTokenLaunchForm = ({ setCreatedCommunityId(communityId); onCommunityCreated(communityId); } catch (e) { - if (isTurnstileEnabled) { - resetTurnstile(); - } console.error(`Error creating token: `, e, e.name); if (e?.name === 'TransactionBlockTimeoutError') { @@ -416,8 +402,6 @@ export const QuickTokenLaunchForm = ({ )} - {isTurnstileEnabled && } - {isCreatingQuickToken && } {createdCommunityId ? (