Skip to content

Commit

Permalink
copy improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
berekuk committed Dec 23, 2024
1 parent 7ad4382 commit bb91ab6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions apps/hub/src/app/ai/WorkflowViewer/PublishWorkflowButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ ${workflow.result.code}`;

return (
<SafeActionFormModal<NewModelFormShape, typeof createModelAction>
title="Publish Workflow"
title="Publish Model"
action={createModelAction}
close={close}
defaultValues={{
Expand All @@ -38,7 +38,7 @@ ${workflow.result.code}`;
groupSlug: data.group?.slug,
isPrivate: data.isPrivate,
})}
submitText="Publish"
submitText="Save"
onSuccess={(data) => {
// Note: redirect in server action would be incompatible with https://github.com/TheEdoRan/next-safe-action/issues/303
// (and might a bad idea anyway, returning a url is more verbose but more flexible for reuse)
Expand All @@ -57,7 +57,7 @@ export const PublishWorkflowButton: FC<Props> = ({ workflow }) => {
return (
<>
<Button theme="primary" size="small" onClick={() => setIsOpen(true)}>
Publish
Save Model
</Button>
{isOpen && (
<PublishWorkflowModal
Expand Down

0 comments on commit bb91ab6

Please sign in to comment.