diff --git a/src/components/App/__snapshots__/test.js.snap b/src/components/App/__snapshots__/test.js.snap index 57e33f4..6f8f900 100644 --- a/src/components/App/__snapshots__/test.js.snap +++ b/src/components/App/__snapshots__/test.js.snap @@ -119,7 +119,7 @@ exports[`App rendering an expression 2`] = ` }" /> @@ -200,7 +200,7 @@ exports[`App rendering with an invalid syntax 2`] = ` }" /> diff --git a/src/components/Loader/index.js b/src/components/Loader/index.js index 83336d9..1fa58dc 100644 --- a/src/components/Loader/index.js +++ b/src/components/Loader/index.js @@ -1,21 +1,17 @@ import React from 'react'; -import PropTypes from 'prop-types'; -import { withTranslation } from 'react-i18next'; +import { useTranslation } from 'react-i18next'; import LoaderIcon from 'react-feather/dist/icons/loader'; import style from './style.module.css'; -const Loader = ({ t }) => ( -