Update no data content for region select

dev
Platon Yasev 3 years ago
parent 261cdaccac
commit cad79fe0c0

@ -1,4 +1,4 @@
import { TreeSelect } from "antd";
import { Empty, TreeSelect } from "antd";
import { Title } from "../../components/Title";
import { useRegion } from "../../stores/useRegion";
import { useEffect, useMemo, useState } from "react";
@ -90,6 +90,12 @@ export const RegionSelect = () => {
loading={loading}
treeNodeFilterProp="title"
onClear={handleClear}
notFoundContent={
<Empty
image={Empty.PRESENTED_IMAGE_SIMPLE}
description={"Не найдено"}
/>
}
>
{data?.map((parent) => {
return (

Loading…
Cancel
Save