diff --git a/packages/user/src/App.tsx b/packages/user/src/App.tsx index 83aea5f4..2ed47450 100644 --- a/packages/user/src/App.tsx +++ b/packages/user/src/App.tsx @@ -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(); diff --git a/packages/user/src/components/cursor/CasperCursor.tsx b/packages/user/src/components/layout/CasperCursor.tsx similarity index 100% rename from packages/user/src/components/cursor/CasperCursor.tsx rename to packages/user/src/components/layout/CasperCursor.tsx diff --git a/packages/user/src/hooks/socket/useChatSocket.ts b/packages/user/src/hooks/socket/useChatSocket.ts index d814aaee..863156f0 100644 --- a/packages/user/src/hooks/socket/useChatSocket.ts +++ b/packages/user/src/hooks/socket/useChatSocket.ts @@ -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; - const INIT_NOTICE = { content: '오늘의 공지사항이 없습니다.' }; + export default function useChatSocket() { const { toast } = useToast(); diff --git a/packages/user/src/routes/router.tsx b/packages/user/src/routes/router.tsx index 29d8e1b5..759fd65f 100644 --- a/packages/user/src/routes/router.tsx +++ b/packages/user/src/routes/router.tsx @@ -87,7 +87,7 @@ const routes: RouteObject[] = [ { path: '*', element: ( - }> + ),