File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
packages/app/src/app/pages/Sandbox/Editor/Workspace/Dependencies Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 11import Margin from '@codesandbox/common/lib/components/spacing/Margin' ;
22import getTemplateDefinition from '@codesandbox/common/lib/templates' ;
3- import React , { FunctionComponent } from 'react' ;
4-
53import { useOvermind } from 'app/overmind' ;
4+ import React , { FunctionComponent } from 'react' ;
65
76import { WorkspaceSubtitle } from '../elements' ;
8-
97import { AddFont } from './AddFont' ;
108import { AddResource } from './AddResource' ;
119import { AddVersion } from './AddVersion' ;
@@ -60,7 +58,7 @@ export const Dependencies: FunctionComponent = () => {
6058 dependency = { dependency }
6159 key = { dependency }
6260 onRefresh = { ( name , version ) => addNpmDependency ( { name, version } ) }
63- onRemove = { npmDependencyRemoved }
61+ onRemove = { name => npmDependencyRemoved ( { name } ) }
6462 />
6563 ) ) }
6664
You can’t perform that action at this time.
0 commit comments