diff --git a/app/beach/BeachClientPage.tsx b/app/beach/BeachClientPage.tsx index f58b9ce..5341a0c 100644 --- a/app/beach/BeachClientPage.tsx +++ b/app/beach/BeachClientPage.tsx @@ -9,7 +9,7 @@ import Footer from '../components/Footer'; import Header from '../components/Header'; import BeachRegistrationForm from './BeachRegistrationForm'; -export default function BeachClientPage({ config }: { config: any }) { +export default function BeachClientPage({ config, turnstileSiteKey }: { config: any, turnstileSiteKey: string }) { const [timeInfo, setTimeInfo] = useState({ dateStr: 'Laddar...', matchStr: 'Laddar...', @@ -200,7 +200,7 @@ export default function BeachClientPage({ config }: { config: any }) { {/* Rendera formuläret endast om anmälan är öppen */} - {!timeInfo.isClosed && } + {!timeInfo.isClosed && }