More explicit warning message text

This commit is contained in:
Frank Noirot
2024-10-04 17:15:54 -04:00
parent 4f06524776
commit 5d8f3f988a

View File

@ -55,8 +55,8 @@ export const projectsCommandBarConfig: StateMachineCommandSetConfig<
description: 'Delete a project', description: 'Delete a project',
needsReview: true, needsReview: true,
reviewMessage: ({ argumentsToSubmit }) => CommandBarOverwriteWarning({ reviewMessage: ({ argumentsToSubmit }) => CommandBarOverwriteWarning({
heading: 'Are you sure?', heading: 'Are you sure you want to delete?',
message: `This will permanently delete the project "${argumentsToSubmit.name}".`, message: `This will permanently delete the project "${argumentsToSubmit.name}" and all its contents.`,
}), }),
args: { args: {
name: { name: {