Skip to content

Commit e0d4b3f

Browse files
committed
chore: fix incorrect translation for error deleting document
1 parent 3552d6a commit e0d4b3f

File tree

1 file changed

+1
-1
lines changed
  • src/admin/components/elements/DeleteDocument

1 file changed

+1
-1
lines changed

src/admin/components/elements/DeleteDocument/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ const DeleteDocument: React.FC<Props> = (props) => {
4444
const modalSlug = `delete-${id}`;
4545

4646
const addDefaultError = useCallback(() => {
47-
toast.error(t('error:deletingError', { title }));
47+
toast.error(t('error:deletingTitle', { title }));
4848
}, [t, title]);
4949

5050
const handleDelete = useCallback(() => {

0 commit comments

Comments
 (0)