Skip to content

Commit

Permalink
downgrade ts version and minor update to forgot pswd link
Browse files Browse the repository at this point in the history
  • Loading branch information
kolharsam committed Oct 27, 2023
1 parent fa16f18 commit bab5775
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
14 changes: 7 additions & 7 deletions frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"react-hot-toast": "2.4.1",
"react-router-dom": "6.16.0",
"react-scripts": "5.0.1",
"typescript": "4.9.5",
"typescript": "4.5.4",
"web-vitals": "2.1.4"
},
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const AppRouter = () => {
path="signup"
element={<SignUp op="signup" onLogin={onLogin} onRegister={onRegister} />}
/>
<Route path="forgot" element={<ForgotPassword resetPasswordHandlers={passwordReset} />} />
<Route path="forgot-password" element={<ForgotPassword resetPasswordHandlers={passwordReset} />} />
<Route
path="home"
element={
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/SignUp.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ const SignUp = ({ op, onLogin, onRegister }: SignUpProps) => {
{op === "login" && (
<div className="text-sm">
<Link
to="/forgot"
to={ROUTES.FORGOT_PASSWORD}
className="font-semibold text-indigo-600 hover:text-indigo-500"
>
Forgot password?
Expand Down

0 comments on commit bab5775

Please sign in to comment.