diff --git a/src/components/document/sorted-section.tsx b/src/components/document/sorted-section.tsx index 5361b6b93..5b9f15839 100644 --- a/src/components/document/sorted-section.tsx +++ b/src/components/document/sorted-section.tsx @@ -23,7 +23,7 @@ interface IProps { secondarySort: SecondarySortType; } -export const SortedSection: React.FC = observer(function SortedDocuments(props: IProps) { +export const SortedSection: React.FC = observer(function SortedSection(props: IProps) { const { docFilter, documentGroup, idx, secondarySort } = props; const { persistentUI, sortedDocuments } = useStores(); const [showDocuments, setShowDocuments] = useState(false); @@ -51,7 +51,7 @@ export const SortedSection: React.FC = observer(function SortedDocuments const renderUngroupedDocument = (doc: IDocumentMetadata) => { const fullDocument = getDocument(doc.key); - if (!fullDocument) return
; + if (!fullDocument) return
; return