Skip to content

Commit

Permalink
fix: prevent exceptions with ShortcodeListAdapter initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesgeorge007 authored and AndrewBastin committed Mar 20, 2024
1 parent 7621ff2 commit ae129c6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/hoppscotch-common/src/components/share/index.vue
Expand Up @@ -273,6 +273,10 @@ const loading = computed(
)
onLoggedIn(() => {
if (adapter.isInitialized()) {
return
}
try {
// wait for a bit to let the auth token to be set
// because in some race conditions, the token is not set this fixes that
Expand Down

0 comments on commit ae129c6

Please sign in to comment.