add forgot-password ui (#273)

This commit is contained in:
Sahariar Alam Khandoker
2024-09-17 20:53:05 +06:00
committed by GitHub
parent f34812653e
commit e43ea66442
9 changed files with 183 additions and 2 deletions

View File

@ -24,6 +24,7 @@ import PageRedirect from "@/pages/page/page-redirect.tsx";
import Layout from "@/components/layouts/global/layout.tsx";
import { ErrorBoundary } from "react-error-boundary";
import InviteSignup from "@/pages/auth/invite-signup.tsx";
import ForgotPassword from "@/pages/auth/forgot-password.tsx";
export default function App() {
const [, setSocket] = useAtom(socketAtom);
@ -61,6 +62,7 @@ export default function App() {
<Routes>
<Route index element={<Navigate to="/home" />} />
<Route path={"/login"} element={<LoginPage />} />
<Route path={"/forgotPassword"} element={<ForgotPassword />} />
<Route path={"/invites/:invitationId"} element={<InviteSignup />} />
<Route path={"/setup/register"} element={<SetupWorkspace />} />