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!

NotFound to ts

kruzhambusb1b2cd52418b
diff --git a/src/pages/NotFound/index.jsx b/src/pages/NotFound/index.tsx
similarity index 94%
rename from src/pages/NotFound/index.jsx
rename to src/pages/NotFound/index.tsx
index 48a0223e3..dc37a36b4 100644
--- a/src/pages/NotFound/index.jsx
+++ b/src/pages/NotFound/index.tsx
@@ -5,8 +5,10 @@ import { useTranslation } from 'react-i18next'
import routes from 'routes'
import Title from 'components/Title'
-const NotFound = () => {
- const { t } = useTranslation('common')
+const NotFound = (): JSX.Element => {
+ const { t }: {
+ t: (key: string) => string
+ } = useTranslation('common')
return (
<Title title={t('notFoundPage.title')}>