Skip to content

Commit

Permalink
fix: route reset password
Browse files Browse the repository at this point in the history
  • Loading branch information
ialexanderbrito committed Dec 21, 2022
1 parent 97500a8 commit 531f334
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/routes/PrivateRoutes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import { MyTicket } from 'pages/MyTicket';
import { NotFound } from 'pages/NotFound';
import { Profile } from 'pages/Profile';
import { ReportBug } from 'pages/ReportBug';
import { ResetPassword } from 'pages/ResetPassword';
import { Schedule } from 'pages/Schedule';
import { Tickets } from 'pages/Tickets';
import { Validate } from 'pages/Validate';
Expand All @@ -21,7 +20,6 @@ export function PrivateRoutes() {
return (
<Routes>
<Route path="/" element={<Home />} />
<Route path="/reset-password" element={<ResetPassword />} />
<Route path="/profile" element={<Profile />} />
<Route path="/p/:id" element={<Schedule />} />
<Route path="/ticket/:id" element={<MyTicket />} />
Expand Down
2 changes: 2 additions & 0 deletions src/routes/PublicRoutes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,15 @@ import { ForgetPassword } from 'pages/ForgetPassword';
import { Login } from 'pages/Login';
import { NotFound } from 'pages/NotFound';
import { Register } from 'pages/Register';
import { ResetPassword } from 'pages/ResetPassword';

export function PublicRoutes() {
return (
<Routes>
<Route path="/" element={<Login />} />
<Route path="/register" element={<Register />} />
<Route path="/forget-password" element={<ForgetPassword />} />
<Route path="/reset-password" element={<ResetPassword />} />
<Route path="*" element={<NotFound />} />
</Routes>
);
Expand Down

0 comments on commit 531f334

Please sign in to comment.