fixed linting
This commit is contained in:
parent
aec66cdc2c
commit
985ba8b0d0
|
|
@ -66,7 +66,9 @@ export default function ActionEditor({
|
|||
: "empty";
|
||||
|
||||
const [imageUrl, setImageUrl] = useState<string | null>(
|
||||
attachmentType === "image" ? initialAction?.fileUrls[0]! : null,
|
||||
initialAction && attachmentType === "image"
|
||||
? initialAction.fileUrls[0]!
|
||||
: null,
|
||||
);
|
||||
|
||||
const [action, setAction] = useState<CommentAction>(
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user