diff --git a/src/shared/components/TopcoderFooter/index.jsx b/src/shared/components/TopcoderFooter/index.jsx index 587153bd65..5d8226f173 100644 --- a/src/shared/components/TopcoderFooter/index.jsx +++ b/src/shared/components/TopcoderFooter/index.jsx @@ -1,3 +1,4 @@ +import cookies from 'browser-cookies'; import moment from 'moment'; import PT from 'prop-types'; import React from 'react'; @@ -33,9 +34,10 @@ Link.propTypes = { export default function TopcoderFooter() { const base = config.URL.BASE; - const auth = config.URL.AUTH; + const authUrl = config.URL.AUTH; const retUrl = isomorphy.isClientSide() ? encodeURIComponent(window.location.href) : ''; const currentYear = moment().year(); + const loggedIn = cookies.get('tcjwt') !== null; return (
@@ -92,7 +94,9 @@ export default function TopcoderFooter() {