fix and new logo
This commit is contained in:
@@ -1268,8 +1268,11 @@ const useDocumentsWorkspace = ({
|
||||
});
|
||||
|
||||
const inspectDocumentForDesk = useCallback(
|
||||
(doc: DocumentLike | null) => {
|
||||
const docId = doc?.id;
|
||||
(docOrId: DocumentLike | Identifier | null | undefined) => {
|
||||
if (docOrId == null) {
|
||||
return;
|
||||
}
|
||||
const docId = typeof docOrId === 'object' ? docOrId?.id : docOrId;
|
||||
if (docId == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user