修复普通用户首页错误的问题
This commit is contained in:
parent
a5853f82f8
commit
4301766ab0
@ -1,10 +1,13 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
import {Button, Layout, Result, Space} from "antd";
|
import {Button, Layout, Result, Space} from "antd";
|
||||||
import {Link} from "react-router-dom";
|
import {Link, useNavigate} from "react-router-dom";
|
||||||
|
|
||||||
const {Content} = Layout;
|
const {Content} = Layout;
|
||||||
|
|
||||||
const NoMatch = () => {
|
const NoMatch = () => {
|
||||||
|
|
||||||
|
let navigate = useNavigate();
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
<Content>
|
<Content>
|
||||||
|
Loading…
Reference in New Issue
Block a user