fix(StorePage): update setSearchData to use res.results instead of res to fix search data not being set correctly
fix(StorePage): update setErrorApiKey to true to handle error with API key
This commit is contained in:
parent
cd71943b43
commit
71b3fd4245
1 changed files with 1 additions and 1 deletions
|
|
@ -92,7 +92,7 @@ export default function StorePage(): JSX.Element {
|
|||
|
||||
getStoreComponents(index - 1, size, filterComponent.current)
|
||||
.then((res) => {
|
||||
setSearchData(res);
|
||||
setSearchData(res.results);
|
||||
getNumberSavedComponents();
|
||||
setErrorApiKey(true);
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue