Update Modal.tsx

zio/stable
Minseo Lee 2024-03-16 17:04:45 +09:00
parent a3786ee5cd
commit 86d036cca8
1 changed files with 3 additions and 1 deletions

View File

@ -131,7 +131,9 @@ export function Component(content: ReportComponentProps) {
const getCollectionNameForReport = (atUri: AtUri | null) => { const getCollectionNameForReport = (atUri: AtUri | null) => {
if (!atUri) return <Trans>Account</Trans> if (!atUri) return <Trans>Account</Trans>
// Generic fallback for any collection being reported // Generic fallback for any collection being reported
return CollectionNames[atUri.collection as CollectionId] || <Trans>Content</Trans> return (
CollectionNames[atUri.collection as CollectionId] || <Trans>Content</Trans>
)
} }
const SelectIssue = ({ const SelectIssue = ({