Skip to content

Commit

Permalink
refactor: event page
Browse files Browse the repository at this point in the history
  • Loading branch information
nim-od committed Aug 22, 2024
1 parent 0ce6c21 commit 2f47b37
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions packages/user/src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import { RouterProvider } from 'react-router-dom';
import ToasterStack from 'src/components/common/toast/ToasterStack.tsx';
import CasperCursor from 'src/components/layout/CasperCursor.tsx';
import GlobalErrorBoundary from 'src/components/layout/GlobalErrorBoundary.tsx';
import GlobalFallback from 'src/components/layout/fallback/GlobalFallback.tsx';
import useCursor from 'src/hooks/useCursor.ts';
import AppProviders from 'src/libs/index.tsx';
import router from 'src/routes/router.tsx';
import CasperCursor from './components/cursor/CasperCursor.tsx';
import useCursor from './hooks/useCursor.ts';

export default function App() {
useCursor();
Expand Down
3 changes: 1 addition & 2 deletions packages/user/src/hooks/socket/useChatSocket.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@ import { useCallback, useState } from 'react';
import { useToast } from 'src/hooks/useToast.ts';
import socketManager from 'src/services/socket.ts';

export type UseChatSocketReturnType = ReturnType<typeof useChatSocket>;

const INIT_NOTICE = { content: '오늘의 공지사항이 없습니다.' };

export default function useChatSocket() {
const { toast } = useToast();

Expand Down
2 changes: 1 addition & 1 deletion packages/user/src/routes/router.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ const routes: RouteObject[] = [
{
path: '*',
element: (
<Suspense fallback={<GlobalFallback />}>
<Suspense>
<NotFoundErrorPage />
</Suspense>
),
Expand Down

0 comments on commit 2f47b37

Please sign in to comment.