diff --git a/components/layout/Footer.js b/components/layout/Footer.js index f9c2ba87..c8035fef 100644 --- a/components/layout/Footer.js +++ b/components/layout/Footer.js @@ -4,11 +4,9 @@ import classNames from 'classnames'; import { FormattedMessage } from 'react-intl'; import Link from 'components/common/Link'; import styles from './Footer.module.css'; -import useStore from 'store/version'; -import { HOMEPAGE_URL, REPO_URL } from 'lib/constants'; +import { CURRENT_VERSION, HOMEPAGE_URL, REPO_URL } from 'lib/constants'; export default function Footer() { - const { current } = useStore(); const { pathname } = useRouter(); return ( @@ -28,9 +26,9 @@ export default function Footer() { />
- {`v${current}`} + {`v${CURRENT_VERSION}`}
- {!pathname.includes('/share/') &&