From 24a8c861ffb6b19e929650d4269abdf2578246b9 Mon Sep 17 00:00:00 2001 From: Spicer Matthews Date: Fri, 15 Dec 2023 16:47:22 -0800 Subject: [PATCH] Removed dec 2023 user survey --- src/pages/index.js | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/src/pages/index.js b/src/pages/index.js index f880e93d..ecf14e02 100644 --- a/src/pages/index.js +++ b/src/pages/index.js @@ -39,7 +39,8 @@ import Typography from '@material-ui/core/Typography' import IconButton from '@material-ui/core/IconButton' import SettingsIcon from '@material-ui/icons/Settings' import Chip from '@material-ui/core/Chip' -import Button from '@material-ui/core/Button' + +// import Button from '@material-ui/core/Button' // utils import withDataSSR from 'src/utils/pageWrappers/withDataSSR' @@ -102,7 +103,9 @@ import SearchbarSFACSellNotification from 'src/components/SearchbarSFACSellNotif import GroupImpactContainer from 'src/components/groupImpactComponents/GroupImpactContainer' import ShopFullPage from 'src/components/promos/ShopFullPage' import SearchFullPage from 'src/components/promos/SearchFullPage' -import Notification from 'src/components/Notification' + +// import Notification from 'src/components/Notification' + import AddShortcutPageContainer from 'src/components/AddShortcutPageContainer' import FrontpageShortcutListContainer from 'src/components/FrontpageShortcutListContainer' import Modal from '@material-ui/core/Modal' @@ -755,10 +758,10 @@ const Index = ({ data: fallbackData, userAgent }) => { notifSearch = null } - // Our survey notification - const surveyNotif = notificationsToShow.find( - (res) => res.code === 'user-survey-december-2023' - ) + // // Our survey notification + // const surveyNotif = notificationsToShow.find( + // (res) => res.code === 'user-survey-december-2023' + // ) // Don't load the page until there is data. Data won't exist // if the user doesn't have auth cookies and thus doesn't fetch @@ -1005,7 +1008,7 @@ const Index = ({ data: fallbackData, userAgent }) => { * that appear via the UserImpact component. */}
- {surveyNotif ? ( + {/* surveyNotif ? ( { your feedback. Thanks for Tabbing!
- {/* + Thanks for your help! - */} +
} buttons={ @@ -1041,7 +1044,7 @@ const Index = ({ data: fallbackData, userAgent }) => { includeClose onClose={surveyNotif.onDismiss} /> - ) : null} + ) : null */} {/* {notif && notif.variation === 'Version1' ? (