Fix stale dashboard right after own tx: fresh=1 cache bypass (one-shot via sessionStorage flag) set on upgrade success and post-join redirect
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -147,6 +147,7 @@
|
||||
$('resultLink').href='/my/'+newId; $('resultLink').style.display='inline-flex';
|
||||
log('🎉 Confirmed — your position is <strong>#'+newId+'</strong>. Redirecting to your dashboard…','ok');
|
||||
try{ el_scroll('result'); }catch(e){}
|
||||
try{sessionStorage.setItem('rmc.fresh','1');}catch(e){}
|
||||
setTimeout(function(){ location.href='/my/'+newId; }, 4500);
|
||||
} else {
|
||||
log('Confirmed on-chain. Open your dashboard at <a href="/my">/my</a> and enter your new ID (also shown on Polygonscan).','ok');
|
||||
|
||||
Reference in New Issue
Block a user