import only needed lodash methods

This commit is contained in:
les
2021-03-16 19:54:26 +01:00
parent ccb47742fb
commit e0865ae7d7
3 changed files with 6 additions and 5 deletions

View File

@@ -1,4 +1,5 @@
import { take, get } from 'lodash'
import take from 'lodash/take'
import get from 'lodash/get'
export function attributesFromEvents (_events, _tags) {
const colors = ['blue', 'orange', 'yellow', 'teal', 'indigo', 'green', 'red', 'purple', 'pink', 'gray']