Fixing up popup code.

This commit is contained in:
Dessalines 2022-10-21 14:14:28 -04:00
parent dd0ce307f5
commit 6bd795c89b
4 changed files with 11 additions and 12 deletions

View file

@ -641,8 +641,9 @@ export class PostForm extends Component<PostFormProps, PostFormState> {
i.state.postForm.url = Some(url);
i.setState({ imageLoading: false });
pictrsDeleteToast(
i18n.t("click_to_delete_picture"),
i18n.t("picture_deleted"),
`${i18n.t("click_to_delete_picture")}: ${file.name}`,
`${i18n.t("picture_deleted")}: ${file.name}`,
`${i18n.t("failed_to_delete_picture")}: ${file.name}`,
deleteUrl
);
} else {