diff options
Diffstat (limited to 'src/components')
-rw-r--r-- | src/components/Login2.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/Login2.tsx b/src/components/Login2.tsx index 2164b1a..ef3a603 100644 --- a/src/components/Login2.tsx +++ b/src/components/Login2.tsx @@ -54,7 +54,7 @@ function OOldform({ isReg, toggle }: { isReg: boolean; toggle: () => void }) { const [state, formAction, isPending] = useActionState<FormState, FormData>( isReg ? postRegister : postLogin, - {}, + { error: "" }, "/login", ); // const nav = useRouter(); |