fix: set password routing

This commit is contained in:
fbwoolf
2023-06-16 12:18:14 -05:00
committed by Fara Woolf
parent 6ba30bbbdd
commit 73444e47bd

View File

@@ -57,7 +57,7 @@ function SetPasswordPage() {
const { decodedAuthRequest } = useOnboardingState();
const analytics = useAnalytics();
useRouteHeader(<Header hideActions onClose={() => navigate(RouteUrls.BackUpSecretKey)} />);
useRouteHeader(<Header hideActions onClose={() => navigate(-1)} />);
useEffect(() => {
void analytics.page('view', '/set-password');