Browse Source

fix: remove stale useRouter from LoginModal

neyrogovnarik 1 tháng trước cách đây
mục cha
commit
b2fc6ee204
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  1. 0 1
      frontend/src/components/LoginModal.tsx

+ 0 - 1
frontend/src/components/LoginModal.tsx

@@ -4,7 +4,6 @@ import { useState } from 'react'
 import { useAuth } from '@/hooks/useAuth'
 
 export default function LoginModal({ onClose }: { onClose: () => void }) {
-  const router = useRouter()
   const { login } = useAuth()
   const [email, setEmail] = useState('')
   const [password, setPassword] = useState('')