From 486be674e454dd192524c04d31c72db2db4ffda6 Mon Sep 17 00:00:00 2001 From: Dima Korolev Date: Mon, 24 Jun 2024 13:52:47 +0000 Subject: [PATCH] adds airtable form --- src/templates/cfp/index.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/templates/cfp/index.tsx b/src/templates/cfp/index.tsx index fc28f3768c..6b989a110e 100644 --- a/src/templates/cfp/index.tsx +++ b/src/templates/cfp/index.tsx @@ -16,13 +16,14 @@ const CFP: FunctionComponent< }> > = ({ data, location }) => { const config = transformConfig(data.allAirtableconfig.nodes) + const formType = config?.cfpform?.value || "airtable" return ( <>
- {config.cfpform.value === "airtable" &&