1
0
mirror of https://github.com/mgerb/classic-wow-forums synced 2026-01-11 09:32:51 +00:00

client - support for admin/mod users

This commit is contained in:
2018-01-16 22:02:19 -06:00
parent b30af0cd09
commit 8de5dba9e3
15 changed files with 175 additions and 59 deletions

View File

@@ -3,7 +3,7 @@ import { BrowserRouter, Route, Switch } from 'react-router-dom';
import { Provider } from 'mobx-react';
import { initializeAxios } from './axios/axios';
import { Footer, Header } from './components';
import { Forum, Home, NotFound, Oauth, Realms, Thread, UserAccount } from './pages';
import { Forum, Home, Login, NotFound, Oauth, Realms, Thread, UserAccount } from './pages';
import { stores } from './stores/stores';
// styling
@@ -48,6 +48,7 @@ export class Routes extends React.Component<Props, State> {
<Route exact path="/f/:categoryId/:threadId" component={Thread} />
<Route exact path="/oauth" component={Oauth} />
<Route exact path="/user-account" component={UserAccount} />
<Route exact path="/login" component={Login} />
<Route component={NotFound} />
</Switch>
<Footer />