diff --git a/src/plugins/pdfPreviewPlugin.tsx b/src/plugins/pdfPreviewPlugin.tsx index c5e88bb..63248e6 100644 --- a/src/plugins/pdfPreviewPlugin.tsx +++ b/src/plugins/pdfPreviewPlugin.tsx @@ -122,7 +122,7 @@ export const pdfPreviewPlugin: JupyterFrontEndPlugin = { description: "Preview PDF files in the file browser on hover.", autoStart: true, requires: [IDefaultFileBrowser], - activate: ({ serviceManager }: JupyterFrontEnd, fileBrowser: IDefaultFileBrowser) => { + activate({ serviceManager }: JupyterFrontEnd, fileBrowser: IDefaultFileBrowser) { const { dirListing, node: fileBrowserNode } = fileBrowser; const pdfState: {