feat: refactor document opening/preview logic to support preview/sidepanel actions.
This commit is contained in:
@@ -19,7 +19,7 @@ import { PointerTrackingProvider, usePointerTracking } from './PointerTrackingCo
|
||||
import type { Identifier } from '../types/identifiers';
|
||||
import type { DocumentsListEntry, Document } from '../types/documents';
|
||||
import { useAppState } from '../app/appState';
|
||||
import { useDocumentOpen } from '../context/DocumentOpenContext';
|
||||
import { useDocumentOpen } from '../contexts/DocumentOpenContext';
|
||||
|
||||
type TagLike = { id?: Identifier | null; label?: string; color?: string | null } | null;
|
||||
type OverlaySource = { url: string; alt?: string | null; mimeType?: string | null; };
|
||||
|
||||
Reference in New Issue
Block a user