mirror of
https://github.com/Qortal/Qortal-Hub.git
synced 2025-07-28 20:51:24 +00:00
fixes
This commit is contained in:
@@ -808,7 +808,7 @@ export async function getNameInfo() {
|
||||
const response = await fetch(validApi + '/names/primary/' + address);
|
||||
const nameData = await response.json();
|
||||
if (nameData?.name) {
|
||||
return nameData[0].name;
|
||||
return nameData.name;
|
||||
} else {
|
||||
return '';
|
||||
}
|
||||
|
Reference in New Issue
Block a user