diff options
author | polwex <polwex@sortug.com> | 2025-05-15 10:28:07 +0700 |
---|---|---|
committer | polwex <polwex@sortug.com> | 2025-05-15 10:28:07 +0700 |
commit | ee2352b5268a1f33c4db72237a7c5171f0c1efbc (patch) | |
tree | 83513e84613e4fdb64004225d92594a2a7fbaae4 /src/components | |
parent | d56594d3289002566f4653d607f0837befd65109 (diff) |
m
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(); |