diff --git a/src/components/CookiesBanner/index.jsx b/src/components/CookiesBanner/index.jsx index 5be3d9fe..f3c3c129 100644 --- a/src/components/CookiesBanner/index.jsx +++ b/src/components/CookiesBanner/index.jsx @@ -6,7 +6,6 @@ import IconButton from '@material-ui/core/IconButton' import React, { useEffect, useState } from 'react' import { makeStyles } from '@material-ui/core/styles' import Link from '~/components/layout/Link' -import { WELCOME_ADDRESS } from '~/routes/routes' import Button from '~/components/layout/Button' import { primary, mainFontFamily } from '~/theme/variables' import type { CookiesProps } from '~/logic/cookies/model/cookie' @@ -76,7 +75,7 @@ const CookiesBanner = () => { useEffect(() => { async function fetchCookiesFromStorage() { - const cookiesState: CookiesProps = await loadFromCookie(COOKIES_KEY) + const cookiesState: ?CookiesProps = await loadFromCookie(COOKIES_KEY) if (cookiesState) { const { acceptedNecessary, acceptedAnalytics } = cookiesState setLocalAnalytics(acceptedAnalytics) @@ -116,7 +115,7 @@ const CookiesBanner = () => {

We use cookies to give you the best experience and to help improve our website. Please read our {' '} - Cookie Policy + Cookie Policy {' '} for more information. By clicking "Accept all", you agree to the storing of cookies on your device to enhance site navigation, analyze site usage and provide customer support. diff --git a/src/components/Sidebar/LegalLinks.jsx b/src/components/Sidebar/LegalLinks.jsx index 751fe7c5..0b0ed30f 100644 --- a/src/components/Sidebar/LegalLinks.jsx +++ b/src/components/Sidebar/LegalLinks.jsx @@ -21,9 +21,6 @@ const LegalLinks = () => { Terms - - Cookies - Privacy