Remove pages
This commit is contained in:
@@ -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}>
|
||||
|
||||
@@ -18,12 +18,12 @@ export interface HomeModelState {
|
||||
}
|
||||
|
||||
const tabItems: TabItemModels = [
|
||||
{
|
||||
key: '/home/home',
|
||||
name: 'home.tabHome',
|
||||
icon: homeIcon,
|
||||
iconSelected: homeIconS,
|
||||
},
|
||||
// {
|
||||
// key: '/home/home',
|
||||
// name: 'home.tabHome',
|
||||
// icon: homeIcon,
|
||||
// iconSelected: homeIconS,
|
||||
// },
|
||||
{
|
||||
key: '/home/estate',
|
||||
name: 'home.tabEstate',
|
||||
|
||||
@@ -48,16 +48,6 @@ const ProfilePage: React.FC<UserModelState & DispatchProp> = ({
|
||||
title="profile.system"
|
||||
onClick={() => dispatch(routerRedux.push('/system'))}
|
||||
/>
|
||||
<SettingItem
|
||||
className="group"
|
||||
logo={logoIdentity}
|
||||
title="profile.identity"
|
||||
/>
|
||||
<SettingItem
|
||||
className="group"
|
||||
logo={logoMsg}
|
||||
title="profile.msg"
|
||||
/>
|
||||
<SettingItem
|
||||
className="group"
|
||||
logo={logoAbout}
|
||||
|
||||
Reference in New Issue
Block a user