You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-10 09:22:25 +03: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