Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions frontend/src/hooks/offramp/useRampService/useRegisterRamp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,13 @@ export const useRegisterRamp = () => {
// Check if we can proceed with the registration process
const lockResult = checkLock();
if (!lockResult.canProceed) {
// Alternatively release locks if process was cancelled
// This will NOT clean the localStorage right after the process is cancelled
// but rather on the first checkLock() call after confirmation.
if (!rampStarted){
releaseSigningLock();
releaseLock();
}
return;
}

Expand Down
Loading