diff options
author | Vitaly Takmazov | 2022-11-08 01:51:59 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2023-01-13 10:37:58 +0300 |
commit | 77528ba8e616d51a69834a6a3b9a4af66dec6706 (patch) | |
tree | f5ac21a6b16e31d5c96e93e6398218329990fd79 | |
parent | 52bf03c73cc7f64db2dcc86d4452f0cc014d5ad7 (diff) |
Icon: fix svg path
-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 a9cd8a95..0386182f 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', |