create otp page - link auth page
This commit is contained in:
@@ -5,6 +5,9 @@ import { Login } from "../pages/auth/login";
|
||||
import { ForgotPassword } from "../pages/auth/forgot-password";
|
||||
import { Register } from "../pages/auth/register";
|
||||
import { ResetPassword } from "../pages/auth/reset-password";
|
||||
import { LoginWithCode } from "../pages/auth/login-with-code";
|
||||
import { SendCode } from "../pages/auth/send-code";
|
||||
|
||||
|
||||
export const router = createBrowserRouter([
|
||||
{
|
||||
@@ -31,6 +34,14 @@ export const router = createBrowserRouter([
|
||||
path: "reset-password",
|
||||
element: <ResetPassword />
|
||||
},
|
||||
{
|
||||
path: "login-with-code",
|
||||
element: <LoginWithCode />
|
||||
},
|
||||
{
|
||||
path: "send-code",
|
||||
element: <SendCode />
|
||||
},
|
||||
]
|
||||
}
|
||||
])
|
||||
Reference in New Issue
Block a user