Merge pull request #322 from omnivore-app/opt/import-lodash-debounce

Import just the debounce package to reduce bundle size
This commit is contained in:
Jackson Harper
2022-03-25 11:14:13 -07:00
committed by GitHub

View File

@ -15,7 +15,7 @@ import {
import { Tweet } from 'react-twitter-widgets'
import { render } from 'react-dom'
import { isDarkTheme } from '../../../lib/themeUpdater'
import { debounce } from 'lodash'
import debounce from 'lodash/debounce'
import { ArticleMutations } from '../../../lib/articleActions'
export type ArticleProps = {