diff --git a/packages/socket-ui/byld-socket.js b/packages/socket-ui/byld-socket.js index ff28ab8c3..127585d15 100644 --- a/packages/socket-ui/byld-socket.js +++ b/packages/socket-ui/byld-socket.js @@ -71,8 +71,10 @@ const connectedToSymbols = (clients, element, state) => { const t = setTimeout(() => { delete state.notifications.connected - element.notifications.content.connected - .setProps({ animation: 'fadeOutDown' }) + if (element.notifications.content.connected) { + element.notifications.content.connected + .setProps({ animation: 'fadeOutDown' }) + } state.update({ connected: true }) clearTimeout(t) }, 3000) diff --git a/packages/uikit/Atoms/Svg.js b/packages/uikit/Atoms/Svg.js index 58ce5ec64..f63020931 100644 --- a/packages/uikit/Atoms/Svg.js +++ b/packages/uikit/Atoms/Svg.js @@ -17,6 +17,7 @@ export const Svg = { const SVG = designSystem && designSystem.SVG const useSvgSprite = props.spriteId || (context.designSystem && context.designSystem.useSvgSprite) + if (props.html) return props.html if (!useSvgSprite && props.src) return props.src const useSVGSymbol = icon => ``