Write missing account check more compact
This commit is contained in:
parent
8804e0ccb2
commit
df756e5cc7
@ -44,8 +44,7 @@ export function setupAuthExtension(base: QueryClient): AuthExtension {
|
||||
unverified: {
|
||||
account: async (address: string) => {
|
||||
const { account } = await queryService.Account({ address: address });
|
||||
if (!account) return null;
|
||||
return account;
|
||||
return account ?? null;
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Loading…
Reference in New Issue
Block a user