Merge pull request 'content hardcoded resolved' (#166) from fix/filter into develop
Reviewed-on: http://85.143.176.51:3000/free-land/front-end/pulls/166
This commit is contained in:
commit
35aa957b35
@ -7,7 +7,6 @@ import { useDebounce } from "./functions/debounce";
|
|||||||
import { IProduct } from "./IProdutct";
|
import { IProduct } from "./IProdutct";
|
||||||
import { useTranslation } from "react-i18next";
|
import { useTranslation } from "react-i18next";
|
||||||
|
|
||||||
|
|
||||||
type Props = {
|
type Props = {
|
||||||
className?: string;
|
className?: string;
|
||||||
};
|
};
|
||||||
@ -28,8 +27,7 @@ export default function Fiter({ className }: Props) {
|
|||||||
};
|
};
|
||||||
const debounced = useDebounce(query);
|
const debounced = useDebounce(query);
|
||||||
|
|
||||||
const [t, i18next] = useTranslation()
|
const [t, i18next] = useTranslation();
|
||||||
|
|
||||||
|
|
||||||
async function fetchProducts() {
|
async function fetchProducts() {
|
||||||
const response = await axios.get(
|
const response = await axios.get(
|
||||||
@ -99,13 +97,13 @@ export default function Fiter({ className }: Props) {
|
|||||||
/>
|
/>
|
||||||
</Disclosure>
|
</Disclosure>
|
||||||
<Disclosure caption={t("filters.publicationsType")}>
|
<Disclosure caption={t("filters.publicationsType")}>
|
||||||
<p>контент...</p>
|
<p>{t("filters.content")}</p>
|
||||||
</Disclosure>
|
</Disclosure>
|
||||||
<Disclosure caption={t("filters.publisher")}>
|
<Disclosure caption={t("filters.publisher")}>
|
||||||
<p>контент...</p>
|
<p>{t("filters.content")}</p>
|
||||||
</Disclosure>
|
</Disclosure>
|
||||||
<Disclosure caption={t("filters.publicationTopic")}>
|
<Disclosure caption={t("filters.publicationTopic")}>
|
||||||
<p>контент...</p>
|
<p>{t("filters.content")}</p>
|
||||||
</Disclosure>
|
</Disclosure>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user