Skip to content

Commit

Permalink
fix(www): allow to tree shake lodash-es (#23967)
Browse files Browse the repository at this point in the history
  • Loading branch information
pieh authored May 10, 2020
1 parent e267ca0 commit 88056f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/src/components/tags-section.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import { jsx } from "theme-ui"
import Link from "./localized-link"
import { TiTags as TagsIcon } from "react-icons/ti"
const { kebabCase } = require(`lodash-es`)
import { kebabCase } from "lodash-es"

import Button from "./button"

Expand Down

0 comments on commit 88056f0

Please sign in to comment.