diff --git a/components/layout/Footer.js b/components/layout/Footer.js index 547896c3..85f99e95 100644 --- a/components/layout/Footer.js +++ b/components/layout/Footer.js @@ -1,19 +1,17 @@ import React from 'react'; import classNames from 'classnames'; -import { FormattedMessage, useIntl } from 'react-intl'; +import { FormattedMessage } from 'react-intl'; import Link from 'components/common/Link'; import styles from './Footer.module.css'; import useVersion from 'hooks/useVersion'; +import useLocale from 'hooks/useLocale'; export default function Footer() { const { current } = useVersion(); - const intl = useIntl(); + const [locale] = useLocale(); return ( -