This commit is contained in:
Bill 2022-08-18 00:14:43 -04:00
parent d30c067381
commit 147b299b5e

View File

@ -835,7 +835,7 @@ const useCatalogState = () =>
useEffect(() =>
{
if(!isVisible || !rootNode || !requestedPage.current) return;
if(!isVisible || !rootNode || !offersToNodes || !requestedPage.current) return;
switch(requestedPage.current.requestType)
{
@ -868,7 +868,7 @@ const useCatalogState = () =>
requestedPage.current.resetRequest();
return;
}
}, [ isVisible, rootNode, currentPage, activateNode, openPageById, openPageByOfferId, openPageByName ]);
}, [ isVisible, rootNode, offersToNodes, currentPage, activateNode, openPageById, openPageByOfferId, openPageByName ]);
useEffect(() =>
{