diff options
author | Vitaly Takmazov | 2023-03-06 08:55:02 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2023-03-06 09:27:14 +0300 |
commit | ca9b2565e5e880fdc551341df92f15f33434a7c8 (patch) | |
tree | b5d6481485a7ad7fe6eb107455d066dddb26faea /vnext/src/ui/Icon.js | |
parent | adf0f97931e06a2b9ce55b5e0b1106c62dbd9b38 (diff) |
vnext: postcss-loader
Diffstat (limited to 'vnext/src/ui/Icon.js')
-rw-r--r-- | vnext/src/ui/Icon.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vnext/src/ui/Icon.js b/vnext/src/ui/Icon.js index 0386182f..a9cd8a95 100644 --- a/vnext/src/ui/Icon.js +++ b/vnext/src/ui/Icon.js @@ -22,7 +22,7 @@ function IconElement(props) { var klass = 'icon' + (!props.noFill ? ' icon--' + props.name : '') + size + className; var name = '#' + props.name + '-icon'; - var useTag = `<use xlink:href='/${evilIcons}${name}' />`; + var useTag = `<use xlink:href='${evilIcons}${name}' />`; var Icon = createElement('svg', { className: 'icon__cnt', dangerouslySetInnerHTML: { __html: useTag } }); return createElement( 'div', |