From abcbd3556bac7d0be3fc783da08c0d9a479841b0 Mon Sep 17 00:00:00 2001 From: cv <34649812+cpvalente@users.noreply.github.com> Date: Wed, 17 Nov 2021 21:53:31 +0100 Subject: [PATCH] add lodash throttle add dependency to handle event throttling --- client/package.json | 1 + client/yarn.lock | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/client/package.json b/client/package.json index 29f0fee87..3bdca24c2 100644 --- a/client/package.json +++ b/client/package.json @@ -12,6 +12,7 @@ "axios": "^0.21.1", "framer-motion": "^4.1.6", "jotai": "^0.16.5", + "lodash.throttle": "^4.1.1", "react": "17.0.2", "react-beautiful-dnd": "^13.1.0", "react-dom": "^17.0.1", diff --git a/client/yarn.lock b/client/yarn.lock index a15a4edc8..021dd3333 100644 --- a/client/yarn.lock +++ b/client/yarn.lock @@ -7945,6 +7945,11 @@ lodash.templatesettings@^4.0.0: dependencies: lodash._reinterpolate "^3.0.0" +lodash.throttle@^4.1.1: + version "4.1.1" + resolved "https://registry.yarnpkg.com/lodash.throttle/-/lodash.throttle-4.1.1.tgz#c23e91b710242ac70c37f1e1cda9274cc39bf2f4" + integrity sha1-wj6RtxAkKscMN/HhzaknTMOb8vQ= + lodash.truncate@^4.4.2: version "4.4.2" resolved "https://registry.yarnpkg.com/lodash.truncate/-/lodash.truncate-4.4.2.tgz#5a350da0b1113b837ecfffd5812cbe58d6eae193"