Skip to content

Commit

Permalink
Removes unneeded import, type declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonWeill committed May 16, 2024
1 parent 937140b commit 4dfddf2
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions packages/application-extension/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ import {
standardRendererFactories,
} from '@jupyterlab/rendermime';

import { Contents } from '@jupyterlab/services';

import { ISettingRegistry } from '@jupyterlab/settingregistry';

import { ITranslator, nullTranslator } from '@jupyterlab/translation';
Expand Down Expand Up @@ -631,9 +629,7 @@ const title: JupyterFrontEndPlugin<void> = {
}

// Duplicate the file, and open the new file.
const result: Contents.IModel = await docManager.duplicate(
current.context.path
);
const result = await docManager.duplicate(current.context.path);

// Get the new file's name, and open it.
await commands.execute('docmanager:open', { path: result.path });
Expand Down

0 comments on commit 4dfddf2

Please sign in to comment.