-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5555358
commit 868a633
Showing
7 changed files
with
82 additions
and
76 deletions.
There are no files selected for viewing
22 changes: 0 additions & 22 deletions
22
packages/app/src/app/dashboard/profiles/[id]/components/publish-button.tsx
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 5 additions & 5 deletions
10
packages/app/src/components/dashboard/profiles/edit-form.schema.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
import { z } from 'zod' | ||
|
||
export const rhfActionSchema = z.object({ | ||
selectedChoices: z.record(z.string(), z.array(z.string()).min(1)) | ||
}) | ||
|
||
export type EditProfileFormValues = z.infer<typeof rhfActionSchema> | ||
export const rhfEditProfileActionSchema = z.record( | ||
z.string(), | ||
z.array(z.string()).min(1) | ||
) | ||
export type EditProfileFormValues = z.infer<typeof rhfEditProfileActionSchema> | ||
export const defaultValues: Partial<EditProfileFormValues> = {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters