diff --git a/libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx b/libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx index 211bf9dfbd..6eba79f344 100644 --- a/libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx +++ b/libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx @@ -35,7 +35,6 @@ export function Workspace () { const initGitRepoRef = useRef() const filteredBranches = selectedWorkspace ? (selectedWorkspace.branches || []).filter(branch => branch.name.includes(branchFilter) && branch.name !== 'HEAD').slice(0, 20) : [] const currentBranch = selectedWorkspace ? selectedWorkspace.currentBranch : null - const plugin = global.plugin useEffect(() => { let workspaceName = localStorage.getItem('currentWorkspace') @@ -499,7 +498,6 @@ export function Workspace () { removedContextMenuItems={global.fs.browser.contextMenu.removedMenuItems} files={global.fs.browser.files} fileState={global.fs.browser.fileState} - plugin={plugin} expandPath={global.fs.browser.expandPath} focusEdit={global.fs.focusEdit} focusElement={global.fs.focusElement} @@ -539,7 +537,6 @@ export function Workspace () { removedContextMenuItems={global.fs.localhost.contextMenu.removedMenuItems} files={global.fs.localhost.files} fileState={[]} - plugin={plugin} expandPath={global.fs.localhost.expandPath} focusEdit={global.fs.focusEdit} focusElement={global.fs.focusElement} diff --git a/libs/remix-ui/workspace/src/lib/types/index.ts b/libs/remix-ui/workspace/src/lib/types/index.ts index 88a000e655..efb5123626 100644 --- a/libs/remix-ui/workspace/src/lib/types/index.ts +++ b/libs/remix-ui/workspace/src/lib/types/index.ts @@ -79,7 +79,6 @@ export interface FilePanelType extends ViewPlugin { export interface FileExplorerProps { name: string, menuItems?: string[], - plugin: FilePanelType contextMenuItems: MenuItems, removedContextMenuItems: MenuItems, files: { [x: string]: Record }, diff --git a/libs/remix-ui/workspace/src/lib/utils/index.ts b/libs/remix-ui/workspace/src/lib/utils/index.ts index 33b28e1dba..dc9420336d 100644 --- a/libs/remix-ui/workspace/src/lib/utils/index.ts +++ b/libs/remix-ui/workspace/src/lib/utils/index.ts @@ -30,8 +30,7 @@ export const contextMenuActions: MenuItems = [{ extension: ['.js', '.ts'], multiselect: false, label: '' -}, -{ +},{ id: 'pushChangesToGist', name: 'Push changes to gist', type: ['gist'],