Skip to content

Commit 04c1655

Browse files
committed
Fix: reduced bundle size a bit
1 parent cff7fe3 commit 04c1655

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/components/controls/select/polyline/section-selector.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Trash2 } from "lucide-react";
22
import { useSelector } from "react-redux";
3-
import { debounce } from "lodash";
3+
import { default as debounce } from "lodash/debounce";
44
import { twMerge } from "tailwind-merge";
55
import { Input, Popover, PopoverContent, PopoverTrigger } from "@/components/core";
66
import { dataAttributes } from "@/constants";

src/components/controls/select/seats/categorizer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { MouseEvent } from "react";
22
import { PopoverClose } from "@radix-ui/react-popover";
33
import { LayoutTemplate, Trash2 } from "lucide-react";
44
import { useSelector } from "react-redux";
5-
import { debounce } from "lodash";
5+
import { default as debounce } from "lodash/debounce";
66
import { twMerge } from "tailwind-merge";
77
import { Input, Popover, PopoverContent, PopoverTrigger } from "@/components/core";
88
import { dataAttributes } from "@/constants";

src/components/controls/shapes.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { memo, useCallback, useState } from "react";
22
import * as lucide from "lucide-react";
3-
import { isEqual } from "lodash";
3+
import { default as isEqual } from "lodash/isEqual";
44
import { twMerge } from "tailwind-merge";
55
import { store } from "@/store";
66
import { setCursor } from "@/store/reducers/editor";

src/components/workspace/elements/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { memo, useEffect, useMemo, useRef } from "react";
22
import * as d3 from "d3";
3-
import { isEqual } from "lodash";
3+
import { default as isEqual } from "lodash/isEqual";
44
import { twMerge } from "tailwind-merge";
55
import { dataAttributes } from "@/constants";
66
import { store } from "@/store";

0 commit comments

Comments
 (0)