From d4bd576cc933fd85e0fa1f0bfd6406b6587cbccc Mon Sep 17 00:00:00 2001 From: Sofiya Tepikin Date: Sun, 18 Sep 2022 13:49:24 +0000 Subject: [PATCH] Delete license.js --- components/settings/license.js | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 components/settings/license.js diff --git a/components/settings/license.js b/components/settings/license.js deleted file mode 100644 index 69b1fcd..0000000 --- a/components/settings/license.js +++ /dev/null @@ -1,27 +0,0 @@ -import React from 'react' -import PropTypes from 'prop-types' -import { useTranslation } from 'react-i18next' - -import AppPage from '../common/app-page' -import AppText from '../common/app-text' -import Segment from '../common/segment' - -const License = ({ children }) => { - const { t } = useTranslation() - const currentYear = new Date().getFullYear() - - return ( - - - {t('settings.license.text', { currentYear })} - {children} - - - ) -} - -License.propTypes = { - children: PropTypes.node, -} - -export default License