diff --git a/src/components/App/index.tsx b/src/components/App/index.tsx index 2d70791..019d905 100755 --- a/src/components/App/index.tsx +++ b/src/components/App/index.tsx @@ -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() { diff --git a/src/components/PaymentPage/results/SuccessPage/index.tsx b/src/components/PaymentPage/results/SuccessPage/index.tsx index 59966ed..6a9b04e 100644 --- a/src/components/PaymentPage/results/SuccessPage/index.tsx +++ b/src/components/PaymentPage/results/SuccessPage/index.tsx @@ -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 (