Skip to content

Commit

Permalink
fix: button for deleting actions now say "Delete this action" instead…
Browse files Browse the repository at this point in the history
… of "trigger"

Signed-off-by: Promise <[email protected]>
  • Loading branch information
promise committed Jul 14, 2023
1 parent a46e57c commit 1c743c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/constants/editors/triggerOrActions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export default function editTriggerOrAction<T extends "action" | "trigger">(trig
},
{
type: ComponentType.Button,
label: "Delete this trigger",
label: `Delete this ${triggerOrAction}`,
customId: `${interaction.id}:delete`,
style: ButtonStyle.Danger,
},
Expand Down

0 comments on commit 1c743c7

Please sign in to comment.