From e9cef4659d08907bfbe5c44f6015bfb0a774bdc6 Mon Sep 17 00:00:00 2001 From: Choi JunHo Date: Tue, 6 Aug 2024 23:43:54 +0900 Subject: [PATCH] Fix: Conflict error --- src/routes/admin-routes.tsx | 2 +- src/ui/pages/admin/login.tsx | 4 +- src/ui/pages/page-test.tsx | 101 +++++++++++++++++++++++++++++++++++ 3 files changed, 104 insertions(+), 3 deletions(-) create mode 100644 src/ui/pages/page-test.tsx diff --git a/src/routes/admin-routes.tsx b/src/routes/admin-routes.tsx index 537dccf..e1cfca7 100644 --- a/src/routes/admin-routes.tsx +++ b/src/routes/admin-routes.tsx @@ -3,9 +3,9 @@ import { Route, Routes } from 'react-router-dom'; import PrivateRoute from './private-route'; import FileList from '../ui/pages/admin/file-list'; import Login from '../ui/pages/admin/login'; -import QuestionCheck from '../ui/pages/admin/question-check'; import AdminLayout from '../ui/components/admin/Layout/admin-layout'; import { getCookie } from '../utils/cookies'; +import QuestionCheck from '../ui/pages/admin/question-check'; const AdminRoutes: React.FC = () => { const token = getCookie('accessToken'); return ( diff --git a/src/ui/pages/admin/login.tsx b/src/ui/pages/admin/login.tsx index 34c0b56..f7648f3 100644 --- a/src/ui/pages/admin/login.tsx +++ b/src/ui/pages/admin/login.tsx @@ -1,8 +1,8 @@ -import React, { useEffect, useState } from 'react'; -import { AdminLogin } from '../../../api/admin-login'; +import React, { useState, useEffect } from 'react'; import { Spin } from 'antd'; import { LoadingOutlined } from '@ant-design/icons'; import { useNavigate } from 'react-router-dom'; +import { AdminLogin } from '../../../api/admin-login'; export default function Login() { const [email, setEmail] = useState(''); diff --git a/src/ui/pages/page-test.tsx b/src/ui/pages/page-test.tsx new file mode 100644 index 0000000..a9a10ad --- /dev/null +++ b/src/ui/pages/page-test.tsx @@ -0,0 +1,101 @@ +import React from 'react'; +import ChatForm from '../components/molecule/user/chat-form/chat-form'; +import ChatCard from '../components/atom/chat-card/chat-card'; + +const PageTest: React.FC = () => { + return ( +
+ +
+
+ + + + + +
+
+ ); +}; + +export default PageTest;