diff --git a/src/components/PurchaseCompleted.jsx b/src/components/PurchaseCompleted.jsx index 0a4cfa4..aa094d1 100644 --- a/src/components/PurchaseCompleted.jsx +++ b/src/components/PurchaseCompleted.jsx @@ -93,7 +93,7 @@ const PurchaseCompleted = () => { }; confirmTransaction(); - }, [location]); + }, [location, setIsLoading]); const handleGoBack = () => { navigate('/'); // Navega a la página de inicio