diff --git a/src/components/Footer/index.js b/src/components/Footer/index.js
index 5dadb9a..84acc61 100644
--- a/src/components/Footer/index.js
+++ b/src/components/Footer/index.js
@@ -1,13 +1,15 @@
import React from 'react';
import PropTypes from 'prop-types';
-import { withTranslation, Trans } from 'react-i18next';
+import { useTranslation, Trans } from 'react-i18next';
import ccLogo from './cc-by.svg';
import style from './style.module.css';
-export const Footer = ({ t, buildId }) => (
- ;
+};
Footer.propTypes = {
- t: PropTypes.func.isRequired,
buildId: PropTypes.string.isRequired
};
-export default withTranslation()(Footer);
+export default Footer;
diff --git a/src/components/Footer/test.js b/src/components/Footer/test.js
index 2e7bf3a..11313c5 100644
--- a/src/components/Footer/test.js
+++ b/src/components/Footer/test.js
@@ -2,7 +2,7 @@ import React from 'react';
import { render } from 'react-testing-library';
import { mockT } from 'i18n';
-import { Footer } from 'components/Footer';
+import Footer from 'components/Footer';
describe('Footer', () => {
test('rendering', () => {
diff --git a/src/components/Layout/__snapshots__/test.js.snap b/src/components/Layout/__snapshots__/test.js.snap
index 7f80226..18c462d 100644
--- a/src/components/Layout/__snapshots__/test.js.snap
+++ b/src/components/Layout/__snapshots__/test.js.snap
@@ -20,7 +20,7 @@ exports[`Layout rendering 1`] = `
Example content