mirror of
https://github.com/duckietm/Nitro-V3.git
synced 2026-06-19 15:06:20 +00:00
@@ -540,16 +540,9 @@ const useCatalogState = () =>
|
||||
{
|
||||
if(!offer) return;
|
||||
|
||||
if(!offer.isLazy)
|
||||
{
|
||||
applySelectedOffer(offer);
|
||||
return;
|
||||
}
|
||||
applySelectedOffer(offer);
|
||||
|
||||
if(offer.offerId > -1)
|
||||
{
|
||||
offer.activate();
|
||||
}
|
||||
if(offer.isLazy && (offer.offerId > -1)) offer.activate();
|
||||
}, [ applySelectedOffer ]);
|
||||
|
||||
const refreshBuilderStatus = useCallback(() =>
|
||||
|
||||
Reference in New Issue
Block a user