Skip to content

Commit f0eae86

Browse files
committed
fix: only import the needed loadsh function in kernel and plotly
1 parent 6ff4513 commit f0eae86

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/components/result-view/plotly.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* @NOTE: This `PlotlyTransform` component could be used exactly same as the original `PlotlyTransform` component of @nteract/transform-plotly,
1010
* except that this file adds the ability to download a plot from an electron context.
1111
*/
12-
import { cloneDeep } from "lodash";
12+
import cloneDeep from "lodash/cloneDeep";
1313
import * as React from "react";
1414
interface Props {
1515
data: string | Record<string, any>;

lib/kernel.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Emitter, TextEditor, Grammar } from "atom";
22
import { observable, action, computed } from "mobx";
3-
import { isEqual } from "lodash";
3+
import isEqual from "lodash/isEqual";
44
import {
55
log,
66
focus,

0 commit comments

Comments
 (0)