Fix lodash imports

Signed-off-by: resynth1943 <resynth1943@tutanota.com>
This commit is contained in:
resynth1943 2020-08-26 23:04:56 +01:00
parent b294ec6427
commit 2c20afc047
16 changed files with 16 additions and 16 deletions

View file

@ -26,7 +26,7 @@ limitations under the License.
* on unmount or similar to cancel any pending update.
*/
import { throttle } from "lodash";
import throttle from "lodash/throttle";
export default function ratelimitedfunc(fn, time) {
const throttledFn = throttle(fn, time, {