fix
This commit is contained in:
parent
bff92667f4
commit
c4e0ec2a53
@ -4,7 +4,7 @@ import { Fragment, useEffect, useMemo, useState } from 'react';
|
|||||||
import { useDemoStore } from '../store';
|
import { useDemoStore } from '../store';
|
||||||
import { useShallow } from 'zustand/react/shallow';
|
import { useShallow } from 'zustand/react/shallow';
|
||||||
import { Form } from 'antd';
|
import { Form } from 'antd';
|
||||||
import { useNavigate } from 'react-router';
|
import { useNewNavigate } from '@/modules';
|
||||||
import { EditOutlined, SettingOutlined, LinkOutlined, SaveOutlined, DeleteOutlined, LeftOutlined } from '@ant-design/icons';
|
import { EditOutlined, SettingOutlined, LinkOutlined, SaveOutlined, DeleteOutlined, LeftOutlined } from '@ant-design/icons';
|
||||||
import clsx from 'clsx';
|
import clsx from 'clsx';
|
||||||
import { isObjectNull } from '@/utils/is-null';
|
import { isObjectNull } from '@/utils/is-null';
|
||||||
@ -84,7 +84,7 @@ const FormModal = () => {
|
|||||||
);
|
);
|
||||||
};
|
};
|
||||||
export const List = () => {
|
export const List = () => {
|
||||||
const navicate = useNavigate();
|
const navicate = useNewNavigate();
|
||||||
const demoStore = useDemoStore(
|
const demoStore = useDemoStore(
|
||||||
useShallow((state) => {
|
useShallow((state) => {
|
||||||
return {
|
return {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user