Skip to content

Commit 031baaa

Browse files
authored
[WEB-857] regression: image uploader error state #8471
1 parent 9141a93 commit 031baaa

File tree

1 file changed

+1
-2
lines changed
  • packages/editor/src/core/extensions/custom-image/components

1 file changed

+1
-2
lines changed

packages/editor/src/core/extensions/custom-image/components/uploader.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,8 +168,7 @@ export function CustomImageUploader(props: CustomImageUploaderProps) {
168168
[uploadFile, editor, getPos]
169169
);
170170

171-
// const isErrorState = failedToLoadImage || hasDuplicationFailed;
172-
const isErrorState = true;
171+
const isErrorState = failedToLoadImage || hasDuplicationFailed;
173172

174173
const borderColor =
175174
selected && editor.isEditable && !isErrorState

0 commit comments

Comments
 (0)