Skip to content

Commit 463e210

Browse files
committed
fixes
1 parent 7fcd005 commit 463e210

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

MyApp.Client/app/signin/page.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,6 @@ function SignInContent() {
3535

3636
const onSubmit = async (e: SyntheticEvent<HTMLFormElement>) => {
3737
e.preventDefault()
38-
39-
const {userName, password} = serializeToObject(e.currentTarget);
4038
const api = await client.api(new Authenticate({ provider:'credentials', userName, password }))
4139
if (api.succeeded)
4240
await revalidate()

MyApp.Client/next-env.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/// <reference types="next" />
22
/// <reference types="next/image-types/global" />
3-
import "./.next/types/routes.d.ts";
3+
import "./dist/dev/types/routes.d.ts";
44

55
// NOTE: This file should not be edited
66
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.

0 commit comments

Comments
 (0)