From 76cb2ca8a1fdb22099f185464f30b64507c9b2b2 Mon Sep 17 00:00:00 2001 From: Amit Shalev Date: Wed, 16 Aug 2023 21:42:19 +0300 Subject: [PATCH] wip --- src/components/atoms/MetaTag.tsx | 2 +- src/components/organisms/ThankYouDialog.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/atoms/MetaTag.tsx b/src/components/atoms/MetaTag.tsx index faad641..f0bc23a 100644 --- a/src/components/atoms/MetaTag.tsx +++ b/src/components/atoms/MetaTag.tsx @@ -3,7 +3,7 @@ import { makeStyles } from '@material-ui/core'; const useStyles = makeStyles({ root: { - display: import.meta.env.SHOW_META_TAGS === 'true' ? 'block' : 'none', + display: import.meta.env.VITE_SHOW_META_TAGS === 'true' ? 'block' : 'none', position: 'absolute', top: 0, left: 0, diff --git a/src/components/organisms/ThankYouDialog.tsx b/src/components/organisms/ThankYouDialog.tsx index 244d27d..26e2a70 100644 --- a/src/components/organisms/ThankYouDialog.tsx +++ b/src/components/organisms/ThankYouDialog.tsx @@ -15,7 +15,7 @@ interface IProps { async function getNames(): Promise { return new Promise((resolve, reject) => { - return Papa.parse(import.meta.env.THANKYOU_NAMES_FILE || defaultNamesFile, { + return Papa.parse(import.meta.env.VITE_THANKYOU_NAMES_FILE || defaultNamesFile, { download: true, encoding: 'utf-8-sig', header: true,