[WEB-857] regression: image uploader error state #8471

This commit is contained in:
Aaryan Khandelwal
2025-12-30 14:35:52 +05:30
committed by GitHub
parent 9141a9377f
commit 031baaa162

View File

@@ -168,8 +168,7 @@ export function CustomImageUploader(props: CustomImageUploaderProps) {
[uploadFile, editor, getPos]
);
// const isErrorState = failedToLoadImage || hasDuplicationFailed;
const isErrorState = true;
const isErrorState = failedToLoadImage || hasDuplicationFailed;
const borderColor =
selected && editor.isEditable && !isErrorState