Fix lodash imports
Signed-off-by: resynth1943 <resynth1943@tutanota.com>
This commit is contained in:
parent
b294ec6427
commit
2c20afc047
16 changed files with 16 additions and 16 deletions
|
@ -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, {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue