diff --git a/src/app/App.tsx b/src/app/App.tsx index 11b0d24..52b46b2 100644 --- a/src/app/App.tsx +++ b/src/app/App.tsx @@ -1,4 +1,4 @@ -import { FC, PropsWithChildren } from "react"; +import { FC } from "react"; import { Provider } from "react-redux"; @@ -12,7 +12,7 @@ import { Router } from "./Router"; export type TAppProps = Record; -export const App: FC> = () => { +export const App: FC = () => { return ( diff --git a/src/app/Router/Router.tsx b/src/app/Router/Router.tsx index e0fd7be..c3a4439 100644 --- a/src/app/Router/Router.tsx +++ b/src/app/Router/Router.tsx @@ -1,4 +1,4 @@ -import { FC, PropsWithChildren } from "react"; +import { FC } from "react"; import { RouterProvider, createBrowserRouter } from "react-router"; @@ -47,4 +47,4 @@ const router = createBrowserRouter( export type TRouterProps = Record; -export const Router: FC> = () => ; +export const Router: FC = () => ; diff --git a/src/modules/theme/ThemeToggler.tsx b/src/modules/theme/ThemeToggler.tsx index 97530ae..b801f61 100644 --- a/src/modules/theme/ThemeToggler.tsx +++ b/src/modules/theme/ThemeToggler.tsx @@ -1,4 +1,4 @@ -import { FC, PropsWithChildren } from "react"; +import { FC } from "react"; import { Moon, Sun } from "lucide-react"; @@ -9,7 +9,7 @@ import { useTheme } from "./context"; export type TThemeTogglerProps = Record; -export const ThemeToggler: FC> = () => { +export const ThemeToggler: FC = () => { const { setTheme, theme } = useTheme(); return ( diff --git a/src/views/Home/Home.tsx b/src/views/Home/Home.tsx index 8cbb6c2..9819b5d 100644 --- a/src/views/Home/Home.tsx +++ b/src/views/Home/Home.tsx @@ -1,11 +1,11 @@ -import { FC, PropsWithChildren } from "react"; +import { FC } from "react"; import { useTranslation, Trans } from "react-i18next"; import { Typography } from "components"; export type THomeProps = Record; -export const Home: FC> = () => { +export const Home: FC = () => { const { t } = useTranslation("homePage"); return ( diff --git a/src/views/Layout/BaseLayout.tsx b/src/views/Layout/BaseLayout.tsx index 8d04a6f..853220e 100644 --- a/src/views/Layout/BaseLayout.tsx +++ b/src/views/Layout/BaseLayout.tsx @@ -1,4 +1,4 @@ -import { FC, PropsWithChildren } from "react"; +import { FC } from "react"; import { Outlet } from "react-router"; import { Header } from "./Header"; @@ -7,7 +7,7 @@ import { Footer } from "./Footer"; export type TBaseLayoutProps = Record; -export const BaseLayout: FC> = () => { +export const BaseLayout: FC = () => { return (
diff --git a/src/views/Layout/Footer.tsx b/src/views/Layout/Footer.tsx index c25def3..619abdb 100644 --- a/src/views/Layout/Footer.tsx +++ b/src/views/Layout/Footer.tsx @@ -1,4 +1,4 @@ -import { FC, PropsWithChildren } from "react"; +import { FC } from "react"; import { useTranslation } from "react-i18next"; @@ -6,7 +6,7 @@ import { Typography } from "components"; export type TFooterProps = Record; -export const Footer: FC> = () => { +export const Footer: FC = () => { const { t } = useTranslation("common"); return (