mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-24 09:08:18 +00:00
Fix lodash imports
Signed-off-by: resynth1943 <resynth1943@tutanota.com>
This commit is contained in:
@@ -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, {
|
||||
|
||||
Reference in New Issue
Block a user