diff --git a/front/src/features/auth/components/SidebarFooter.tsx b/front/src/features/auth/components/SidebarFooter.tsx new file mode 100644 index 0000000..aeca1d5 --- /dev/null +++ b/front/src/features/auth/components/SidebarFooter.tsx @@ -0,0 +1,21 @@ +import { Button } from '@/components' + +// 사이드바 하단: 공급사명 + 로그아웃 +export function SidebarFooter() { + return ( +
+
+ {/* TODO: 공급사명 (auth store 연동) */} + - +
+ +
+ ) +} diff --git a/front/src/features/auth/hooks/useLoginMutation.ts b/front/src/features/auth/hooks/useLoginMutation.ts index d783d7f..3295d41 100644 --- a/front/src/features/auth/hooks/useLoginMutation.ts +++ b/front/src/features/auth/hooks/useLoginMutation.ts @@ -5,16 +5,9 @@ export interface LoginParams { password: string } -/** - * 로그인 mutation (임시 stub). - * - * TODO: mutationFn 을 실제 백엔드 호출로 교체. - * 현재는 API 미연동 상태라 검증만 통과하면 성공 처리한다. - */ +// 임시 stub (검증만 통과하면 성공). TODO: 로그인 API 연동 export function useLoginMutation() { return useMutation({ - mutationFn: async () => { - // TODO: 실제 로그인 API 연동 - }, + mutationFn: async () => {}, }) } diff --git a/front/src/features/auth/index.ts b/front/src/features/auth/index.ts index 3510753..2b91506 100644 --- a/front/src/features/auth/index.ts +++ b/front/src/features/auth/index.ts @@ -1 +1,2 @@ export { LoginForm } from '@/features/auth/components/LoginForm' +export { SidebarFooter } from '@/features/auth/components/SidebarFooter'