diff --git a/src/layouts/AuthLayout.jsx b/src/layouts/AuthLayout.jsx index 2640081b..c6cbb401 100644 --- a/src/layouts/AuthLayout.jsx +++ b/src/layouts/AuthLayout.jsx @@ -1,6 +1,7 @@ import React from "react"; -import {Outlet} from "react-router-dom"; -import {QueryClient} from '@tanstack/react-query'; +import { Link, Outlet } from "react-router-dom"; +import { QueryClient } from '@tanstack/react-query'; +import { AuthWrapper } from "../pages/authentication/AuthWrapper"; export const queryClient = new QueryClient({ defaultOptions: { @@ -8,17 +9,33 @@ export const queryClient = new QueryClient({ staleTime: 5 * 60 * 1000, // 5 min: data considered fresh refetchOnWindowFocus: true, // refresh on tab switch refetchOnReconnect: true, // re-fetch if network was lost - retry: false, + retry: false, }, }, }); const AuthLayout = () => { return ( -
- Enter your email and we'll send you instructions to reset your password -
- -+ Enter your email and we'll send you instructions to reset your password +
+ + +- {IsLoginWithOTP - ? "Enter your email to receive a one-time password (OTP)." - : "Please sign-in to your account and start the adventure."} -
-