@saasquatch/squatch-js 2.3.2-5 → 2.3.2-9

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/demo/toolbar.tsx CHANGED
@@ -383,14 +383,14 @@ function MockedWidgets(props) {
383
383
  if (showWidget) {
384
384
  setShowWidget(false);
385
385
  } else {
386
- setShowWidget(true);
386
+ console.log("why did i do this");
387
+ element?.open();
387
388
  }
388
389
  }}
389
390
  >
390
391
  {showWidget ? "hide widget" : "show widget"}
391
392
  </button>
392
393
  <div
393
- style={{ display: showWidget ? "block" : "none" }}
394
394
  ref={(el) => {
395
395
  setElement(el);
396
396
  }}