Skip to content

Commit

Permalink
chore(console): rename "Consume" to "How to Consume"
Browse files Browse the repository at this point in the history
  • Loading branch information
arielweinberger committed Aug 1, 2023
1 parent 7ec0a41 commit 371cd36
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions apps/console/src/app/components/prompts/views/PromptEditView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,19 +57,19 @@ export const PromptEditView = () => {
<Space>
{isPublishEnabled && (
<Button
onClick={() => setIsPublishModalOpen(true)}
icon={<PlayCircleOutlined />}
type="primary"
onClick={() => setIsConsumePromptModalOpen(true)}
icon={<CodeOutlined />}
>
Publish
How to Consume
</Button>
)}
{isPublishEnabled && (
<Button
onClick={() => setIsConsumePromptModalOpen(true)}
icon={<CodeOutlined />}
onClick={() => setIsPublishModalOpen(true)}
icon={<PlayCircleOutlined />}
type="primary"
>
Consume
Publish
</Button>
)}
<CommitButton onClick={() => setIsCommitModalOpen(true)} />
Expand Down

0 comments on commit 371cd36

Please sign in to comment.