We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7fcd005 commit 463e210Copy full SHA for 463e210
MyApp.Client/app/signin/page.tsx
@@ -35,8 +35,6 @@ function SignInContent() {
35
36
const onSubmit = async (e: SyntheticEvent<HTMLFormElement>) => {
37
e.preventDefault()
38
-
39
- const {userName, password} = serializeToObject(e.currentTarget);
40
const api = await client.api(new Authenticate({ provider:'credentials', userName, password }))
41
if (api.succeeded)
42
await revalidate()
MyApp.Client/next-env.d.ts
@@ -1,6 +1,6 @@
1
/// <reference types="next" />
2
/// <reference types="next/image-types/global" />
3
-import "./.next/types/routes.d.ts";
+import "./dist/dev/types/routes.d.ts";
4
5
// NOTE: This file should not be edited
6
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.
0 commit comments