diff --git a/src/components/TableHeader/Extensions/index.tsx b/src/components/TableHeader/Extensions/index.tsx index 53f1ec05..e2f6356a 100644 --- a/src/components/TableHeader/Extensions/index.tsx +++ b/src/components/TableHeader/Extensions/index.tsx @@ -52,8 +52,7 @@ export default function Extensions() { const handleClose = () => { if (edited) { requestConfirmation({ - title: "Discard changes", - body: "You will lose changes you have made to extensions", + title: "Discard changes?", confirm: "Discard", handleConfirm: () => { setLocalExtensionsObjects(currentExtensionObjects); @@ -157,8 +156,8 @@ export default function Extensions() { const handleDelete = (index: number) => { requestConfirmation({ - title: `Delete ${localExtensionsObjects[index].name}?`, - body: "This extension will be permanently deleted.", + title: `Delete “${localExtensionsObjects[index].name}”?`, + body: "This Extension will be permanently deleted when you save", confirm: "Confirm", handleConfirm: () => { setLocalExtensionsObjects( diff --git a/src/components/TableHeader/Webhooks/index.tsx b/src/components/TableHeader/Webhooks/index.tsx index f5ec9530..2a311df7 100644 --- a/src/components/TableHeader/Webhooks/index.tsx +++ b/src/components/TableHeader/Webhooks/index.tsx @@ -45,8 +45,7 @@ export default function Webhooks() { const handleClose = () => { if (edited) { requestConfirmation({ - title: "Discard changes", - body: "You will lose changes you have made to webhooks", + title: "Discard changes?", confirm: "Discard", handleConfirm: () => { setLocalWebhooksObjects(currentWebhooks); @@ -137,8 +136,8 @@ export default function Webhooks() { const handleDelete = (index: number) => { requestConfirmation({ - title: `Delete ${localWebhooksObjects[index].name}?`, - body: "This webhook will be permanently deleted.", + title: `Delete “${localWebhooksObjects[index].name}”?`, + body: "This webhook will be permanently deleted when you save", confirm: "Confirm", handleConfirm: () => { setLocalWebhooksObjects(