import React, { ReactElement } from "react"; import { detectIssueTypes } from "../../shared/utils/tradepaperback.utils"; import dayjs from "dayjs"; import { isEmpty, isUndefined } from "lodash"; import Card from "../shared/Carda"; import { convert } from "html-to-text"; interface ComicVineDetailsProps { updatedAt?: string; data?: { name?: string; number?: string; resource_type?: string; id?: number; }; } export const ComicVineDetails = (props: ComicVineDetailsProps): ReactElement => { const { data, updatedAt } = props; return (