From 47472868e19bddd0e305ba960a41a1c9796714bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CSalar?= <“salar.sali97@gmail.com”> Date: Fri, 21 Oct 2022 13:29:08 +0300 Subject: [PATCH] content hardcoded resolved --- src/components/Filters/Filter.tsx | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/components/Filters/Filter.tsx b/src/components/Filters/Filter.tsx index 43f1e0f..16ea49d 100644 --- a/src/components/Filters/Filter.tsx +++ b/src/components/Filters/Filter.tsx @@ -7,7 +7,6 @@ import { useDebounce } from "./functions/debounce"; import { IProduct } from "./IProdutct"; import { useTranslation } from "react-i18next"; - type Props = { className?: string; }; @@ -28,8 +27,7 @@ export default function Fiter({ className }: Props) { }; const debounced = useDebounce(query); - const [t, i18next] = useTranslation() - + const [t, i18next] = useTranslation(); async function fetchProducts() { const response = await axios.get( @@ -99,13 +97,13 @@ export default function Fiter({ className }: Props) { /> -

контент...

+

{t("filters.content")}

-

контент...

+

{t("filters.content")}

-

контент...

+

{t("filters.content")}