Skip to content

Removed redundant redirects between client and server #2993

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
'c'
  • Loading branch information
Mubashir Shariq committed Jun 14, 2024
commit 7e17dab0cd84e72a8e9240c802a7419f4c91f2e5
2 changes: 1 addition & 1 deletion client/modules/User/components/LoginForm.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React, { useState } from 'react';
import { useTranslation } from 'react-i18next';
import { Form, Field } from 'react-final-form';
import { useDispatch } from 'react-redux';
import { AiOutlineEye, AiOutlineEyeInvisible } from 'react-icons/ai.js';
import { AiOutlineEye, AiOutlineEyeInvisible } from 'react-icons/ai';
import Button from '../../../common/Button';
import { validateLogin } from '../../../utils/reduxFormUtils';
import { validateAndLoginUser } from '../actions';
Expand Down
2 changes: 1 addition & 1 deletion client/modules/User/components/SignupForm.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { React, useState } from 'react';
import { useTranslation } from 'react-i18next';
import { Form, Field } from 'react-final-form';
import { useDispatch } from 'react-redux';
import { AiOutlineEye, AiOutlineEyeInvisible } from 'react-icons/ai.js';
import { AiOutlineEye, AiOutlineEyeInvisible } from 'react-icons/ai';
import { validateSignup } from '../../../utils/reduxFormUtils';
import { validateAndSignUpUser } from '../actions';
import Button from '../../../common/Button';
Expand Down
1 change: 0 additions & 1 deletion client/routes.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ const routes = (
path="/:username/collections/:collection_id"
component={CollectionView}
/>

<Route path="/:username/collections" component={DashboardView} />
<Route path="/sketches" />
<Route path="/assets" />
Expand Down