Skip to content

Commit fa95b8c

Browse files
committed
빌드테스트
1 parent df62bdd commit fa95b8c

File tree

4 files changed

+3
-16
lines changed

4 files changed

+3
-16
lines changed

src/App.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { RouterProvider } from 'react-router-dom';
2-
32
import { router } from '@/route';
43

54
function App() {

src/page/mandal/Mandal.tsx

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,9 @@ const Mandal = () => {
1010

1111
return (
1212
<div>
13-
<button
14-
onClick={handleClick}
15-
style={{
16-
fontSize: '2em',
17-
fontWeight: 'bold',
18-
border: 'none',
19-
background: 'none',
20-
cursor: 'pointer',
21-
padding: '0',
22-
}}
23-
>
13+
<h1 onClick={handleClick} style={{ cursor: 'pointer' }}>
2414
만다라트
25-
</button>
15+
</h1>
2616
</div>
2717
);
2818
};

src/route/MainRoutes.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import type { RouteObject } from 'react-router-dom';
2-
3-
import { Home, Todo, Mandal, History } from '@/page';
42
import { PATH } from './path';
3+
import { Home, Todo, Mandal, History } from '@/page';
54

65
export const mainRoutes: RouteObject[] = [
76
{

src/route/router.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { createBrowserRouter } from 'react-router-dom';
2-
32
import { mainRoutes } from './MainRoutes';
43

54
export const router = createBrowserRouter(mainRoutes);

0 commit comments

Comments
 (0)