corrected folder upload and virtualization
This commit is contained in:
@@ -9,9 +9,13 @@ import { useForm } from 'hooks/useForm';
|
||||
import { useAuth } from 'hooks/useAuth';
|
||||
import { useGlobal } from 'hooks/useGlobal';
|
||||
|
||||
const initialState: LoginFormState = {
|
||||
email: 'pastilhas@pastilhas.dev',
|
||||
password: '1234567890',
|
||||
};
|
||||
export function Login() {
|
||||
const [isSubmitting, setIsSubmitting] = useState(false);
|
||||
const { state, formRef, update, isValid } = useForm<LoginFormState>({}, validateForm);
|
||||
const { state, formRef, update, isValid } = useForm<LoginFormState>(initialState, validateForm);
|
||||
const { signin } = useAuth();
|
||||
const [, setDuckHidden] = useGlobal('DUCK_HIDDEN', false);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user