Merge pull request #1787 from payloadcms/chore/deleting-error-i18n
chore: fix incorrect translation for error deleting document
This commit is contained in:
@@ -44,7 +44,7 @@ const DeleteDocument: React.FC<Props> = (props) => {
|
||||
const modalSlug = `delete-${id}`;
|
||||
|
||||
const addDefaultError = useCallback(() => {
|
||||
toast.error(t('error:deletingError', { title }));
|
||||
toast.error(t('error:deletingTitle', { title }));
|
||||
}, [t, title]);
|
||||
|
||||
const handleDelete = useCallback(() => {
|
||||
|
||||
Reference in New Issue
Block a user