rename
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import React, { useCallback, useMemo } from 'react';
|
||||
import { ChevronsRightIcon } from '../ui/icons';
|
||||
import { createDocumentsSurface } from '../documents/DocumentsPanel';
|
||||
import { createPreviewSurface } from '../preview/PreviewWorkspace';
|
||||
import { createDocumentViewerSurface } from '../preview/DocumentViewerPanel';
|
||||
import { createDesktopSurface } from '../DesktopWorkspace';
|
||||
|
||||
export const useWorkspaceSurface = ({
|
||||
@@ -83,7 +83,7 @@ export const useWorkspaceSurface = ({
|
||||
resolveFolderPath,
|
||||
onFolderNavigate,
|
||||
} = detailExtras;
|
||||
return createPreviewSurface({
|
||||
return createDocumentViewerSurface({
|
||||
documentId: previewDocumentId,
|
||||
document: previewWorkspaceDocument,
|
||||
previewEntry: previewWorkspaceEntry,
|
||||
|
||||
Reference in New Issue
Block a user