actually import lodash-es
This commit is contained in:
parent
2731ea81cb
commit
3cc8402e01
67 changed files with 67 additions and 67 deletions
|
|
@ -1,4 +1,4 @@
|
|||
import { find, reduce } from 'lodash'
|
||||
import { find, reduce } from 'lodash-es'
|
||||
|
||||
export const replaceWord = (str, toReplace, replacement) => {
|
||||
return str.slice(0, toReplace.start) + replacement + str.slice(toReplace.end)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue