Skip to content

Commit

Permalink
valid props (#3186)
Browse files Browse the repository at this point in the history
  • Loading branch information
pablonyx authored Nov 21, 2024
1 parent 049091e commit c875a47
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions web/src/app/admin/assistants/[id]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ export default async function Page(props: { params: Promise<{ id: string }> }) {
<CardSection>
<AssistantEditor
{...values}
admin
defaultPublic={true}
redirectType={SuccessfulPersonaUpdateRedirectType.ADMIN}
/>
Expand Down
1 change: 0 additions & 1 deletion web/src/app/assistants/edit/[id]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ export default async function Page(props: { params: Promise<{ id: string }> }) {
<CardSection>
<AssistantEditor
{...values}
admin
defaultPublic={false}
redirectType={SuccessfulPersonaUpdateRedirectType.CHAT}
/>
Expand Down

0 comments on commit c875a47

Please sign in to comment.