@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.js CHANGED
@@ -6181,6 +6181,11 @@ var LoginPopup = ({
6181
6181
  setView(initialView);
6182
6182
  }
6183
6183
  }, [initialView]);
6184
+ React5.useEffect(() => {
6185
+ if (view === "kyc" && renderKycWidget) {
6186
+ setShowKycWidget(true);
6187
+ }
6188
+ }, [view, renderKycWidget]);
6184
6189
  React5.useEffect(() => {
6185
6190
  if (!transakWidgetUrl) return;
6186
6191
  const handleTransakMessage = (event) => {