Fix router to make it easier to actually navigate around the app

This commit is contained in:
Dane Everitt 2019-06-22 18:09:42 -07:00
parent f34593e777
commit 60f32f055e
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
9 changed files with 42 additions and 34 deletions

View file

@ -41,7 +41,7 @@ export default (props: Props) => {
})
.then(() => {
addFlash({ type: 'success', message: 'Your password has been reset, please login to continue.' });
props.history.push('/login');
props.history.push('/auth/login');
})
.catch(error => {
console.error(error);
@ -97,7 +97,7 @@ export default (props: Props) => {
</div>
<div className={'mt-6 text-center'}>
<Link
to={'/login'}
to={'/auth/login'}
className={'text-xs text-neutral-500 tracking-wide no-underline uppercase hover:text-neutral-600'}
>
Return to Login