Skip to content

Commit

Permalink
Rename Set-Password to ResetPassword
Browse files Browse the repository at this point in the history
  • Loading branch information
SchrodingersGat committed Dec 26, 2024
1 parent 82205cc commit 40df66e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import { LanguageContext } from '../../contexts/LanguageContext';
import { ApiEndpoints } from '../../enums/ApiEndpoints';
import { apiUrl } from '../../states/ApiState';

export default function Set_Password() {
export default function ResetPassword() {
const simpleForm = useForm({ initialValues: { password: '' } });
const [searchParams] = useSearchParams();
const navigate = useNavigate();
Expand Down
6 changes: 3 additions & 3 deletions src/frontend/src/router.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@ export const ChangePassword = Loadable(
lazy(() => import('./pages/Auth/ChangePassword'))
);

export const Set_Password = Loadable(
lazy(() => import('./pages/Auth/Set-Password'))
export const ResetPassword = Loadable(
lazy(() => import('./pages/Auth/ResetPassword'))
);

// Routes
Expand Down Expand Up @@ -173,7 +173,7 @@ export const routes = (
<Route path='/logout' element={<Logout />} />,
<Route path='/logged-in' element={<Logged_In />} />
<Route path='/reset-password' element={<Reset />} />
<Route path='/set-password' element={<Set_Password />} />
<Route path='/set-password' element={<ResetPassword />} />
<Route path='/change-password' element={<ChangePassword />} />
</Route>
</Routes>
Expand Down

0 comments on commit 40df66e

Please sign in to comment.