We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1e294b6 commit 7b7a30fCopy full SHA for 7b7a30f
1 file changed
src/layouts/ProviderLayout/ProviderLayout.tsx
@@ -39,7 +39,7 @@ export const ProviderLayout = () => {
39
const fetchProvider = async () => {
40
if (address) {
41
const { data, success } = await getProvider({ address });
42
- if (success && data) {
+ if (success && data?.identity) {
43
const identityDetails = await getIdentity(data.identity);
44
if (identityDetails.success) {
45
setIdentity(identityDetails.data);
0 commit comments