Skip to content

Commit

Permalink
Merge pull request #126 from prathameshmm02/master
Browse files Browse the repository at this point in the history
fix: use partial imports for lodash to reduce bundle size
  • Loading branch information
mukesh-simform authored Nov 13, 2024
2 parents 9bff4cd + 785b416 commit 1e538d0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/components/Waveform/Waveform.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
import { clamp, floor, head, isEmpty, isNil } from 'lodash';
import clamp from 'lodash/clamp';
import floor from 'lodash/floor';
import head from 'lodash/head';
import isEmpty from 'lodash/isEmpty';
import isNil from 'lodash/isNil';
import React, {
forwardRef,
useEffect,
Expand Down

0 comments on commit 1e538d0

Please sign in to comment.