diff --git a/app/javascript/modules/listings/SharedHelpers.tsx b/app/javascript/modules/listings/SharedHelpers.tsx index 2bf6b88091..f96a07a42f 100644 --- a/app/javascript/modules/listings/SharedHelpers.tsx +++ b/app/javascript/modules/listings/SharedHelpers.tsx @@ -1,8 +1,7 @@ import React from "react" -import Markdown from "markdown-to-jsx" import { ApplicationStatusType, StatusBarType, t } from "@bloom-housing/ui-components" import { areLotteryResultsShareable, getTagContent } from "../../util/listingUtil" -import { localizedFormat } from "../../util/languageUtil" +import { localizedFormat, renderInlineMarkup } from "../../util/languageUtil" import type RailsSaleListing from "../../api/types/rails/listings/RailsSaleListing" import type RailsRentalListing from "../../api/types/rails/listings/RailsRentalListing" import type { ListingEvent } from "../../api/types/rails/listings/BaseRailsListing" @@ -88,11 +87,7 @@ export const getEventNote = (listingEvent: ListingEvent) => { return (