fix: remove unused router import from auth pages
This commit is contained in:
parent
260107c52a
commit
e1f7c8f7a4
3 changed files with 1 additions and 5 deletions
|
|
@ -2,11 +2,9 @@
|
|||
|
||||
import { signIn } from '@/lib/auth-client';
|
||||
import Link from 'next/link';
|
||||
import { useRouter } from 'next/navigation';
|
||||
import { useState } from 'react';
|
||||
|
||||
export default function SignInPage() {
|
||||
const router = useRouter();
|
||||
const [email, setEmail] = useState('');
|
||||
const [password, setPassword] = useState('');
|
||||
const [error, setError] = useState('');
|
||||
|
|
|
|||
|
|
@ -2,11 +2,9 @@
|
|||
|
||||
import { signUp } from '@/lib/auth-client';
|
||||
import Link from 'next/link';
|
||||
import { useRouter } from 'next/navigation';
|
||||
import { useState } from 'react';
|
||||
|
||||
export default function SignUpPage() {
|
||||
const router = useRouter();
|
||||
const [name, setName] = useState('');
|
||||
const [email, setEmail] = useState('');
|
||||
const [password, setPassword] = useState('');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue