fix(Messages/index.jsx): import lodash throttle function efficiently

This commit is contained in:
Daniel Avila 2023-04-09 07:52:42 -04:00
parent 4f1fc3f020
commit 956d919751

View file

@ -1,7 +1,7 @@
import React, { useEffect, useState, useRef, useCallback } from 'react';
import { useRecoilValue } from 'recoil';
import Spinner from '../svg/Spinner';
import { throttle } from 'lodash';
import throttle from 'lodash/throttle';
import { CSSTransition } from 'react-transition-group';
import ScrollToBottom from './ScrollToBottom';
import MultiMessage from './MultiMessage';