Move Login page to UI

This commit is contained in:
Alex Gleason
2023-09-20 13:57:33 -05:00
parent f5d17fd55d
commit ffae3f89df
6 changed files with 88 additions and 59 deletions

View File

@ -134,6 +134,7 @@ import {
FollowedTags,
AboutPage,
RegistrationPage,
LoginPage,
} from './util/async-components';
import GlobalHotkeys from './util/global-hotkeys';
import { WrappedRoute } from './util/react-router-helpers';
@ -357,6 +358,8 @@ const SwitchingColumnsArea: React.FC<ISwitchingColumnsArea> = ({ children }) =>
<WrappedRoute path='/signup' page={DefaultPage} component={RegistrationPage} publicRoute exact />
)}
<WrappedRoute path='/login' page={DefaultPage} component={LoginPage} publicRoute exact />
<WrappedRoute page={EmptyPage} component={GenericNotFound} content={children} />
</Switch>
);