Skip to content

Commit

Permalink
fix: fix build for ui (#899)
Browse files Browse the repository at this point in the history
  • Loading branch information
jcanizalez committed May 29, 2024
1 parent bd1aa2e commit 87d9f40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/ActionLoader.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ const getRequiredAntdIcons = (componentString) => {
// Function to dynamically import antd components
const importAntdComponents = async (components) => {
const imports = await Promise.all(
components.map((component) => import(`antd/es/${component.toLowerCase()}`))
components.map((component) => import(`antd/es/${component.toLowerCase()}/index.js`))
);
const importedComponents = {};
components.forEach((component, index) => {
Expand Down

0 comments on commit 87d9f40

Please sign in to comment.