aboutsummaryrefslogtreecommitdiff
path: root/vnext/src/ui
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2022-11-08 01:51:59 +0300
committerGravatar Vitaly Takmazov2023-01-13 10:37:58 +0300
commit77528ba8e616d51a69834a6a3b9a4af66dec6706 (patch)
treef5ac21a6b16e31d5c96e93e6398218329990fd79 /vnext/src/ui
parent52bf03c73cc7f64db2dcc86d4452f0cc014d5ad7 (diff)
Icon: fix svg path
Diffstat (limited to 'vnext/src/ui')
-rw-r--r--vnext/src/ui/Icon.js2
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',