Skip to content

Commit

Permalink
feat: minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
yashdesu committed Aug 15, 2024
1 parent 49e941e commit 61a7ca9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/components/PublishConfirm/PublishConfirm.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,11 @@
sig: khaosSignature,
msg: khaosMessage,
})
// Clear session storage (which contains PAT) when tokenization is succesfull.
if (tokenizationResult && !(tokenizationResult instanceof Error)) {
sessionStorage.removeItem(`${domain}-onboarding-data`)
}
}
const fetchPublishDetails = async () => {
Expand Down

0 comments on commit 61a7ca9

Please sign in to comment.