mirror of
https://github.com/pocket-id/pocket-id.git
synced 2026-03-23 20:30:07 +00:00
fix: improve back button handling on auth pages
This commit is contained in:
@@ -179,7 +179,7 @@
|
||||
{m.try_again()}
|
||||
</Button>
|
||||
{/if}
|
||||
<Button onclick={() => history.back()} class="flex-1" variant="secondary">
|
||||
<Button href={document.referrer || '/'} class="flex-1" variant="secondary">
|
||||
{m.cancel()}
|
||||
</Button>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user