Skip to content

Commit 1629c10

Browse files
fix wrong usage of action
1 parent a442155 commit 1629c10

File tree

1 file changed

+2
-4
lines changed
  • packages/app/src/app/pages/Sandbox/Editor/Workspace/Dependencies

1 file changed

+2
-4
lines changed

packages/app/src/app/pages/Sandbox/Editor/Workspace/Dependencies/index.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
import Margin from '@codesandbox/common/lib/components/spacing/Margin';
22
import getTemplateDefinition from '@codesandbox/common/lib/templates';
3-
import React, { FunctionComponent } from 'react';
4-
53
import { useOvermind } from 'app/overmind';
4+
import React, { FunctionComponent } from 'react';
65

76
import { WorkspaceSubtitle } from '../elements';
8-
97
import { AddFont } from './AddFont';
108
import { AddResource } from './AddResource';
119
import { 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

0 commit comments

Comments
 (0)