Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

removed i18next from app.js

Blue Moused08e2199ba92
diff --git a/src/App.js b/src/App.js
index 30f8c1793..496faa82d 100644
--- a/src/App.js
+++ b/src/App.js
@@ -3,11 +3,9 @@ import { Switch, Route, Redirect, useLocation } from 'react-router-dom'
import routes from 'routes'
import { useDispatch, useSelector } from 'react-redux'
import { useAlert } from 'react-alert'
-import { useTranslation } from 'react-i18next'
import cx from 'classnames'
import _some from 'lodash/some'
import _includes from 'lodash/includes'
-import dayjs from 'dayjs'
import 'dayjs/locale/ru'
import 'dayjs/locale/uk'
@@ -59,7 +57,6 @@ const Fallback = ({ isMinimalFooter }) => {
}
const App = () => {
- const { i18n: { language } } = useTranslation('common')
const dispatch = useDispatch()
const location = useLocation()
const alert = useAlert()