fix
This commit is contained in:
@@ -119,7 +119,6 @@ type WorkspaceSnapshotState = {
|
||||
interface DesktopWorkspaceProps {
|
||||
documents?: DeskDocument[];
|
||||
searchResults?: DeskDocument[] | null;
|
||||
onDocumentOpen?: (docId: Identifier | null, options?: Record<string, unknown>) => void;
|
||||
onInspectDocument?: (...args: unknown[]) => void;
|
||||
onEntryPointer?: (...args: unknown[]) => void;
|
||||
onDocumentStackSelect?: (docIds: Identifier[]) => void;
|
||||
@@ -154,7 +153,6 @@ interface DesktopWorkspaceViewProps {
|
||||
tagDropTargetId: string | null;
|
||||
pendingTagDocId: string | null;
|
||||
pendingRemovalTag: unknown;
|
||||
onDocumentOpen?: DesktopWorkspaceProps['onDocumentOpen'];
|
||||
ensureAssetUrl?: DesktopWorkspaceProps['ensureAssetUrl'];
|
||||
getDocumentAsset?: DesktopWorkspaceProps['getDocumentAsset'];
|
||||
handleNavigatorSnapshot: (docId: Identifier | null, snapshot: NavigatorSnapshot | null) => void;
|
||||
@@ -199,7 +197,6 @@ const DEBUG_FOCUS = false;
|
||||
const DesktopWorkspace: React.FC<DesktopWorkspaceProps> = ({
|
||||
documents = [],
|
||||
searchResults = null,
|
||||
onDocumentOpen,
|
||||
onInspectDocument = null,
|
||||
onEntryPointer = null,
|
||||
onDocumentStackSelect = null,
|
||||
@@ -717,7 +714,6 @@ const DesktopWorkspace: React.FC<DesktopWorkspaceProps> = ({
|
||||
tagDropTargetId,
|
||||
pendingTagDocId,
|
||||
pendingRemovalTag,
|
||||
onDocumentOpen,
|
||||
ensureAssetUrl,
|
||||
getDocumentAsset,
|
||||
handleNavigatorSnapshot,
|
||||
@@ -783,7 +779,6 @@ const DesktopWorkspace: React.FC<DesktopWorkspaceProps> = ({
|
||||
layoutSnapshot,
|
||||
onClearSelection,
|
||||
onCloseDetailPanel,
|
||||
onDocumentOpen,
|
||||
onDocumentStackSelect,
|
||||
onEntryPointer,
|
||||
onPromoteSelection,
|
||||
@@ -824,7 +819,6 @@ function DesktopWorkspaceView({
|
||||
tagDropTargetId,
|
||||
pendingTagDocId,
|
||||
pendingRemovalTag,
|
||||
onDocumentOpen,
|
||||
ensureAssetUrl,
|
||||
getDocumentAsset,
|
||||
handleNavigatorSnapshot,
|
||||
@@ -900,7 +894,7 @@ function DesktopWorkspaceView({
|
||||
onEntryPointer,
|
||||
onDocumentStackSelect,
|
||||
onPromoteSelection,
|
||||
onDocumentOpen,
|
||||
onInspectDocument,
|
||||
selectedDocumentIds,
|
||||
detailPanelOpen,
|
||||
onCloseDetailPanel,
|
||||
@@ -1041,7 +1035,7 @@ function DesktopWorkspaceView({
|
||||
getDocumentAsset={getDocumentAsset}
|
||||
handleNavigatorSnapshot={handleNavigatorSnapshot}
|
||||
cardPointerHandlers={cardPointerHandlers}
|
||||
onDocumentOpen={onDocumentOpen}
|
||||
onInspectDocument={onInspectDocument}
|
||||
onTagDragEnter={handleTagDragEnterDoc}
|
||||
onTagDragOver={handleTagDragOverDoc}
|
||||
onTagDragLeave={handleTagDragLeaveDoc}
|
||||
|
||||
Reference in New Issue
Block a user