Skip to content

Commit

Permalink
Resolve type error in create profile page
Browse files Browse the repository at this point in the history
  • Loading branch information
evlim committed Oct 29, 2024
1 parent e100056 commit 88cf94f
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion src/routes/(admin)/account/create_profile/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,18 @@
import type { SubmitFunction } from "@sveltejs/kit"
import "../../../../app.css"
interface User {
email: string
}
interface Profile {
full_name?: string
company_name?: string
website?: string
}
interface Props {
data: any
data: { user: User; profile: Profile }
form: FormAccountUpdateResult
}
Expand Down

0 comments on commit 88cf94f

Please sign in to comment.