Skip to content

Commit

Permalink
Merge pull request #250 from WestpacGEL/235-cra-based-apps-cant-use-t…
Browse files Browse the repository at this point in the history
…he-components-due-to-date-picker-import

closes #235: date-picker import change
  • Loading branch information
samithaf authored Nov 6, 2023
2 parents 39772aa + bf4e464 commit 81bbb4a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export function DatePicker({

useEffect(() => {
const initDatePicker = async () => {
const { defineCustomElements } = await import('@duetds/date-picker/custom-element');
const { defineCustomElements } = await import('@duetds/date-picker/custom-element/index.js');
defineCustomElements(window);
setInitialized(true);
};
Expand Down

0 comments on commit 81bbb4a

Please sign in to comment.