AW-69-additional-purchases

This commit is contained in:
Денис Катаев 2024-05-06 19:48:45 +00:00 committed by Daniil Chemerkin
parent 1f51ec4ec2
commit f3abf257db
2 changed files with 3 additions and 2 deletions

View File

@ -228,7 +228,8 @@ function App(): JSX.Element {
return dispatch(actions.status.update("lead"));
}
})();
}, [dispatch, api, token, user]);
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [dispatch, api, token]);
useEffect(() => {
async function getApng() {

View File

@ -13,7 +13,7 @@ function PaymentSuccessPage(): JSX.Element {
const dispatch = useDispatch();
const handleNext = () => {
dispatch(actions.status.update("subscribed"));
navigate(routes.client.home());
navigate(routes.client.addReport());
};
return (