@ensofinance/checkout-widget 0.0.11 → 0.0.12
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/package.json
CHANGED
|
@@ -837,7 +837,9 @@ const SignUserOpStep = ({
|
|
|
837
837
|
console.log("signedUserOp", JSON.stringify(signedUserOp));
|
|
838
838
|
|
|
839
839
|
setUserOp(signedUserOp);
|
|
840
|
-
|
|
840
|
+
if (sessionStorage.getItem("sendUserOp"))
|
|
841
|
+
setStep(WithdrawalStep.TrackUserOp);
|
|
842
|
+
else setStep(WithdrawalStep.InitiateWithdrawal);
|
|
841
843
|
} catch (error) {
|
|
842
844
|
console.error("Failed to sign userOperation:", error);
|
|
843
845
|
} finally {
|