fix assets fetch format
This commit is contained in:
parent
a930a7052c
commit
6cd98dd5f7
1 changed files with 1 additions and 1 deletions
|
|
@ -37,7 +37,7 @@ function Assets() {
|
|||
? await Fetch.getWhitelistedAssets(offset, itemsOnPageInt)
|
||||
: await Fetch.getAssets(offset, itemsOnPageInt)
|
||||
|
||||
const resultAssets = result?.assets;
|
||||
const resultAssets = result;
|
||||
if (!resultAssets || !(resultAssets instanceof Array)) return;
|
||||
setAssets(resultAssets);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue