fix(common): prevent exception with ShortcodeListAdapter initialization (#3917)

This commit is contained in:
James George
2024-03-20 20:29:04 +05:30
committed by GitHub
parent 7621ff2961
commit e53382666a

View File

@@ -273,6 +273,10 @@ const loading = computed(
) )
onLoggedIn(() => { onLoggedIn(() => {
if (adapter.isInitialized()) {
return
}
try { try {
// wait for a bit to let the auth token to be set // 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 // because in some race conditions, the token is not set this fixes that