diff --git a/src/components/Routes/Router.tsx b/src/components/Routes/Router.tsx index 0155cdde08c1aed7244033703bb8b0174da574f4..c48694e54b6f2ffb7e6165f2bd7ef621789aec16 100644 --- a/src/components/Routes/Router.tsx +++ b/src/components/Routes/Router.tsx @@ -7,7 +7,7 @@ import Newsletter from '../Newsletter/Newsletter' import Popups from '../Popups/Popups' import Prices from '../Prices/Prices' -const links: { [key: string]: { label: string; path: string } } = { +export const links: { [key: string]: { label: string; path: string } } = { newsletter: { label: 'Newsletter', path: '/newsletter', @@ -33,6 +33,7 @@ export const routes = Object.keys(links).map((key) => ({ const Router: React.FC = () => { const { user } = useContext(UserContext) + console.log(user) return ( <Switch>