diff --git a/packages/main/src/Icon.js b/packages/main/src/Icon.js index 2cb001c0c74a..24328185daea 100644 --- a/packages/main/src/Icon.js +++ b/packages/main/src/Icon.js @@ -160,7 +160,7 @@ class Icon extends UI5Element { iconData = await getIconData(name); } catch (e) { /* eslint-disable-next-line */ - return console.warn(`Required icon is not registered. You can either import the icon as a module in order to use it e.g. "@ui5/webcomponents/dist/icons/${name.replace("sap-icon://", "")}.js", or setup a JSON build step and import "@ui5/webcomponents-icons/dist/Assets.js".`); + return console.warn(`Required icon is not registered. You can either import the icon as a module in order to use it e.g. "@ui5/webcomponents-icons/dist/icons/${name.replace("sap-icon://", "")}.js", or setup a JSON build step and import "@ui5/webcomponents-icons/dist/Assets.js".`); } } this.pathData = iconData.pathData;