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

client - forum page - pagination / threads per page

This commit is contained in:
2018-01-18 22:41:43 -06:00
parent 857df18cbf
commit 0d3a92c28d
11 changed files with 228 additions and 27 deletions

View File

@@ -44,8 +44,8 @@ export class Routes extends React.Component<Props, State> {
<Switch>
<Route exact path="/" component={Home} />
<Route exact path="/realms" component={Realms} />
<Route exact path="/f/:id" component={Forum} />
<Route exact path="/f/:categoryId/:threadId" component={Thread} />
<Route exact path="/f/:id/:page?/:threadsPerPage?/:sortBy?" component={Forum} />
<Route exact path="/t/:categoryId/:threadId/:page?" component={Thread} />
<Route exact path="/oauth" component={Oauth} />
<Route exact path="/user-account" component={UserAccount} />
<Route exact path="/login" component={Login} />