@nualang/nualang-ui-components 0.1.1212 → 0.1.1214

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.
@@ -358,7 +358,14 @@ function AvatarDialog({
358
358
  }));
359
359
  };
360
360
  const handleComplete = () => {
361
- const svgNode = avatarRef.current;
361
+ // eslint-disable-next-line react/no-find-dom-node
362
+ const svgNode = _reactDom.default.findDOMNode(avatarRef.current);
363
+ /*
364
+ We should switch this but we need to
365
+ have the Avatar component pass the ref to DOM
366
+ so we can grab the outerHTML
367
+ const svgNode = avatarRef.current;
368
+ */
362
369
  const canvas = canvasRef.current;
363
370
  const ctx = canvas.getContext("2d");
364
371
  ctx.clearRect(0, 0, canvas.width, canvas.height);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nualang/nualang-ui-components",
3
- "version": "0.1.1212",
3
+ "version": "0.1.1214",
4
4
  "main": "dist/index.js",
5
5
  "files": [
6
6
  "dist",