Skip to content

Commit e8a9021

Browse files
authored
fix: 4차 QA 반영, 버그 수정 - 세빈 (#144)
* refactor: 에셋 변경 * fix: 에셋 변경 * feat: 어드민 화면 권한 제어 * fix: api 호출 오류 업데이트 * fix: 게시물 삭제후 리스트 반영 --------- Co-authored-by: nirii00 <[email protected]>
1 parent 90282b6 commit e8a9021

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+107
-64
lines changed

src/App.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import FilteredLetterManage from './pages/Admin/FilteredLetter';
99
import FilteringManage from './pages/Admin/Filtering';
1010
import ReportManage from './pages/Admin/Report';
1111
import AdminRollingPaper from './pages/Admin/RollingPaper';
12+
import AdminRoute from './layouts/AdminRoute';
1213
import AuthCallbackPage from './pages/Auth';
1314
import Home from './pages/Home';
1415
import Landing from './pages/Landing';
@@ -28,12 +29,10 @@ import RollingPaperPage from './pages/RollingPaper';
2829
import WritePage from './pages/Write';
2930
import ShareApprovalPage from './pages/Share';
3031
import useThemeStore from './stores/themeStore';
31-
import { useServerSentEvents } from './hooks/useServerSentEvents';
3232

3333
const App = () => {
3434
const theme = useThemeStore((state) => state.theme);
3535
useViewport();
36-
useServerSentEvents();
3736

3837
const initializeTheme = () => {
3938
if (theme === 'dark') {
@@ -81,7 +80,7 @@ const App = () => {
8180
</Route>
8281
</Route>
8382

84-
<Route element={<PrivateRoute />}>
83+
<Route element={<AdminRoute />}>
8584
<Route path="admin" element={<AdminPage />}>
8685
<Route path="report" element={<ReportManage />} />
8786
<Route path="badwords" element={<FilteringManage />} />
-278 KB
Binary file not shown.
435 KB

src/assets/images/field-4-dark.png

-266 KB
Binary file not shown.
103 KB
-2.04 KB
Binary file not shown.
1.22 KB
-105 KB
Binary file not shown.
48.2 KB
-530 KB
Binary file not shown.

0 commit comments

Comments
 (0)