Skip to content

Commit

Permalink
fix: esm imports
Browse files Browse the repository at this point in the history
  • Loading branch information
talkor committed Sep 3, 2024
1 parent 6b05995 commit 529d680
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/core/src/components/DatePicker/DatePicker.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React, { forwardRef, useCallback, useState } from "react";
import cx from "classnames";
import moment from "moment";
import "react-dates/initialize";
import "react-dates/initialize.js";
import { DayOfWeekShape, DayPickerRangeController, DayPickerSingleDateController } from "react-dates";
import DatePickerHeaderComponent from "./DatePickerHeader/DatePickerHeader";
import DateNavigationItem from "./DateNavigationItem/DateNavigationItem";
Expand Down
3 changes: 2 additions & 1 deletion packages/core/src/components/Dropdown/Dropdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ import cx from "classnames";
import { BaseSizes, SIZES_VALUES } from "../../constants";
import React, { forwardRef, useCallback, useMemo, useRef, useState } from "react";
import Select, { InputProps, components, createFilter, ActionMeta } from "react-select";
import AsyncSelect from "react-select/async";
// @ts-ignore
import AsyncSelect from "react-select/async/dist/react-select.esm.js";
import { noop as NOOP } from "lodash-es";
import { WindowedMenuList } from "react-windowed-select";
import MenuComponent from "./components/menu/menu";
Expand Down

0 comments on commit 529d680

Please sign in to comment.