From 46f235d60cb835b1e43d4d970ea2df1188d27743 Mon Sep 17 00:00:00 2001 From: keyan Date: Fri, 25 Aug 2023 18:43:50 -0500 Subject: [PATCH] add removed snl banner --- components/snl.js | 2 +- pages/~/index.js | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/components/snl.js b/components/snl.js index d382ddf6..cdb126f7 100644 --- a/components/snl.js +++ b/components/snl.js @@ -24,7 +24,7 @@ export default function Snl ({ ignorePreference }) { return (
{ setShow(undefined) window.localStorage.setItem('snl', new Date()) diff --git a/pages/~/index.js b/pages/~/index.js index edc62227..28ff00e2 100644 --- a/pages/~/index.js +++ b/pages/~/index.js @@ -3,6 +3,7 @@ import { getGetServerSideProps } from '../../api/ssrApollo' import Items from '../../components/items' import Layout from '../../components/layout' import { SUB_ITEMS } from '../../fragments/subs' +import Snl from '../../components/snl' export const getServerSideProps = getGetServerSideProps(SUB_ITEMS, null, (data, vars) => vars.sub && !data.sub) @@ -13,6 +14,7 @@ export default function Sub ({ ssrData }) { return ( + )