Skip to content
This repository has been archived by the owner on Aug 23, 2024. It is now read-only.

Commit

Permalink
Fix #165
Browse files Browse the repository at this point in the history
Move the links inside a component in order to rebuild it when language change
  • Loading branch information
selankon committed Jan 12, 2024
1 parent bba64bf commit a5b7fc2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion components/pages/app/footer.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
import React from 'react';
import styled, { useTheme } from 'styled-components';
import Link from 'next/link';
import i18n from '../../../i18n';
import { HOME_PATH } from '@const/routes';
import { useTranslation } from 'react-i18next';

export const Footer = () => {
const theme = useTheme();
const { i18n } = useTranslation();

const LINKS: HeaderLink[] = [
// {
Expand Down

0 comments on commit a5b7fc2

Please sign in to comment.