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
commit e10c1a3671
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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 = {