Skip to content

Commit 6fe8bac

Browse files
committed
Fix type issue
1 parent b632089 commit 6fe8bac

File tree

1 file changed

+11
-7
lines changed
  • packages/app/src/app/pages/Dashboard/Content/SandboxGrid

1 file changed

+11
-7
lines changed

packages/app/src/app/pages/Dashboard/Content/SandboxGrid/index.js

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ class SandboxGridComponent extends React.Component<*, State> {
173173
};
174174

175175
forkSandbox = id => {
176-
this.props.signals.editor.forkExternalSandbox(id);
176+
this.props.signals.editor.forkExternalSandbox({ sandboxId: id });
177177
};
178178

179179
onMouseDown = (event: MouseEvent) => {
@@ -248,9 +248,12 @@ class SandboxGridComponent extends React.Component<*, State> {
248248
}
249249
}
250250

251-
this.setSandboxesSelected(selectedSandboxes.map(el => el.id), {
252-
additive: event.metaKey,
253-
});
251+
this.setSandboxesSelected(
252+
selectedSandboxes.map(el => el.id),
253+
{
254+
additive: event.metaKey,
255+
}
256+
);
254257
}
255258
};
256259

@@ -463,6 +466,7 @@ class SandboxGridComponent extends React.Component<*, State> {
463466
}
464467
}
465468

466-
export const SandboxGrid = inject('store', 'signals')(
467-
observer(SandboxGridComponent)
468-
);
469+
export const SandboxGrid = inject(
470+
'store',
471+
'signals'
472+
)(observer(SandboxGridComponent));

0 commit comments

Comments
 (0)