Skip to content

Commit

Permalink
Change activate syntax in plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
alexhad6 committed Jan 4, 2024
1 parent cc0da70 commit 9521b0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/pdfPreviewPlugin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ export const pdfPreviewPlugin: JupyterFrontEndPlugin<void> = {
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: {
Expand Down

0 comments on commit 9521b0a

Please sign in to comment.