diff --git a/src/shared/components/common/image-upload-form.tsx b/src/shared/components/common/image-upload-form.tsx index 74f170b0..44a934e9 100644 --- a/src/shared/components/common/image-upload-form.tsx +++ b/src/shared/components/common/image-upload-form.tsx @@ -1,4 +1,5 @@ import { randomStr } from "@utils/helpers"; +import classNames from "classnames"; import { Component, linkEvent } from "inferno"; import { HttpService, I18NextService, UserService } from "../../services"; import { toast } from "../../toast"; @@ -34,16 +35,17 @@ export class ImageUploadForm extends Component< return (
{this.props.imageSrc && ( - + {/* TODO: Create "Current Iamge" translation for alt text */} + )} - {this.state.imageLoading && } - {url && isImage(url) && ( - - )} - {this.state.imageDeleteUrl && ( - - )} {this.props.crossPosts && this.props.crossPosts.length > 0 && ( <>