@evergis/react 2.0.58 → 2.0.61

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/react.esm.js CHANGED
@@ -3051,7 +3051,7 @@ function useSymbol(_ref, canvasRef) {
3051
3051
  maxWidth
3052
3052
  } = _ref;
3053
3053
  useEffect(() => {
3054
- if (canvasRef.current !== null) {
3054
+ if (canvasRef.current !== null && symbol !== undefined) {
3055
3055
  const canvas = canvasRef.current;
3056
3056
  setCanvasSize(canvas, size, maxWidth);
3057
3057
  render(symbol, size).then(renders => {