@loafmarkets/ui 0.1.87 → 0.1.88

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/index.mjs CHANGED
@@ -6155,6 +6155,11 @@ var LoginPopup = ({
6155
6155
  setView(initialView);
6156
6156
  }
6157
6157
  }, [initialView]);
6158
+ useEffect(() => {
6159
+ if (view === "kyc" && renderKycWidget) {
6160
+ setShowKycWidget(true);
6161
+ }
6162
+ }, [view, renderKycWidget]);
6158
6163
  useEffect(() => {
6159
6164
  if (!transakWidgetUrl) return;
6160
6165
  const handleTransakMessage = (event) => {