修复普通用户首页错误的问题

This commit is contained in:
dushixiang 2022-11-20 22:06:59 +08:00
parent a5853f82f8
commit 4301766ab0

View File

@ -1,10 +1,13 @@
import React from 'react';
import {Button, Layout, Result, Space} from "antd";
import {Link} from "react-router-dom";
import {Link, useNavigate} from "react-router-dom";
const {Content} = Layout;
const NoMatch = () => {
let navigate = useNavigate();
return (
<div>
<Content>