Skip to content

Commit b1c7fe7

Browse files
committed
🚑 Import only debounce from lodash
1 parent a13abf0 commit b1c7fe7

File tree

3 files changed

+11
-9
lines changed

3 files changed

+11
-9
lines changed

package-lock.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@
6464
"gulp-sass": "^4.0.2",
6565
"gulp-typescript": "^6.0.0-alpha.1",
6666
"jest": "^24.9.0",
67-
"lodash": "4.17.21",
6867
"merge2": "^1.2.1",
6968
"normalize.css": "^8.0.0",
7069
"prettier": "^1.19.1",
@@ -93,5 +92,8 @@
9392
"style": "react-mde/lib/styles/css/react-mde-all.css",
9493
"resolutions": {
9594
"@types/react": "16.9.4"
95+
},
96+
"dependencies": {
97+
"lodash": "4.17.21"
9698
}
9799
}

src/components/TextArea.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import * as React from "react";
2-
import { debounce } from "lodash";
2+
import debounce from "lodash/debounce";
33
import { classNames, ClassValue } from "../util/ClassNames";
44
import {
55
CaretCoordinates,

0 commit comments

Comments
 (0)