Remove pages

This commit is contained in:
saplf
2019-09-04 16:14:16 +08:00
parent 254cc52585
commit df25ff4244
4 changed files with 7 additions and 25 deletions

View File

@@ -17,7 +17,7 @@ const HomePage: React.FC<RouterTypes & DispatchProp & HomeModelState> = ({
location: { pathname },
children,
}) => {
if (pathname === '/home') return <Redirect to="/home/home" />
if (pathname === '/home') return <Redirect to="/home/estate" />
return (
<div className={styles.home}>