mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
chore: update sharing image preview
This commit is contained in:
@ -55,7 +55,7 @@ const ShareMemoImageDialog: React.FC<Props> = (props: Props) => {
|
||||
|
||||
const handleImageOnLoad = (ev: React.SyntheticEvent<HTMLImageElement>) => {
|
||||
if (ev.type === "error") {
|
||||
toastHelper.error("有个图片加载失败了😟");
|
||||
toastHelper.error("😟 Image load failed");
|
||||
(ev.target as HTMLImageElement).remove();
|
||||
}
|
||||
setImgAmount(imgAmount - 1);
|
||||
|
Reference in New Issue
Block a user