Skip to content

Commit edd7891

Browse files
committed
feat: clear dir
1 parent 99b09e8 commit edd7891

File tree

11 files changed

+355
-377
lines changed

11 files changed

+355
-377
lines changed

config/routes.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const routes: IRoute[] = [
1717
exact: true,
1818
icon: 'home',
1919
name: '主页',
20-
component: '@/page/home',
20+
component: '@/page/topic',
2121
},
2222

2323
{
@@ -30,7 +30,7 @@ const routes: IRoute[] = [
3030
{
3131
path: '/topic/:id',
3232
exact: true,
33-
component: '@/page/topic',
33+
component: '@/page/topic/detail',
3434
},
3535
],
3636
},

src/component/Topic/index.less

Lines changed: 0 additions & 17 deletions
This file was deleted.

src/component/Topic/index.tsx

Lines changed: 0 additions & 223 deletions
This file was deleted.

src/layout/Basic.tsx

Whitespace-only changes.

src/layout/Topic.tsx

Whitespace-only changes.

src/page/auth/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { FORM_TYPE } from '@/constants';
66
import config from '@/config/';
77
import * as API from '@/service/user';
88

9-
import styles from './index.less';
9+
import * as styles from './index.less';
1010

1111
const AUTH_TYPE_MAP = {
1212
login: {

src/page/home/index.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
import React from 'react';
2-
import Topics from '@/component/Topic';
32

43
const Home: React.FC<Props> = () => {
5-
return <Topics />;
4+
return null;
65
};
76

87
export default Home;

0 commit comments

Comments
 (0)