diff --git a/packages/nextjs/app/submit/_component/SubmitButton.tsx b/packages/nextjs/app/submit/_component/SubmitButton.tsx index 14dad1b..3cc2f9f 100644 --- a/packages/nextjs/app/submit/_component/SubmitButton.tsx +++ b/packages/nextjs/app/submit/_component/SubmitButton.tsx @@ -3,23 +3,17 @@ import { useFormStatus } from "react-dom"; import { useAccount } from "wagmi"; import { RainbowKitCustomConnectButton } from "~~/components/scaffold-eth"; -import scaffoldConfig from "~~/scaffold.config"; const SubmitButton = () => { const { pending } = useFormStatus(); const { isConnected } = useAccount(); - const { submissionsEnabled } = scaffoldConfig; return (
- {!submissionsEnabled ? ( - - ) : isConnected ? ( + {isConnected ? (