Stash lodash import optimization
This commit is contained in:
parent
2c20afc047
commit
1fc55b33c1
18 changed files with 25 additions and 28 deletions
|
@ -26,7 +26,7 @@ limitations under the License.
|
|||
* on unmount or similar to cancel any pending update.
|
||||
*/
|
||||
|
||||
import throttle from "lodash/throttle";
|
||||
import {throttle} from "lodash";
|
||||
|
||||
export default function ratelimitedfunc(fn, time) {
|
||||
const throttledFn = throttle(fn, time, {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue