From 86d036cca8ea1546908b2e53b985162bc8023d3d Mon Sep 17 00:00:00 2001 From: Minseo Lee Date: Sat, 16 Mar 2024 17:04:45 +0900 Subject: Update Modal.tsx --- src/view/com/modals/report/Modal.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/view/com/modals/report/Modal.tsx b/src/view/com/modals/report/Modal.tsx index dbe364846..90697b078 100644 --- a/src/view/com/modals/report/Modal.tsx +++ b/src/view/com/modals/report/Modal.tsx @@ -131,7 +131,9 @@ export function Component(content: ReportComponentProps) { const getCollectionNameForReport = (atUri: AtUri | null) => { if (!atUri) return Account // Generic fallback for any collection being reported - return CollectionNames[atUri.collection as CollectionId] || Content + return ( + CollectionNames[atUri.collection as CollectionId] || Content + ) } const SelectIssue = ({ -- cgit 1.4.1