mirror of
https://github.com/mgerb/go-discord-bot
synced 2026-01-11 01:22:48 +00:00
refactor: move upload history to its own page
This commit is contained in:
@@ -2,7 +2,7 @@ import { Provider } from 'mobx-react';
|
||||
import React from 'react';
|
||||
import ReactDOM from 'react-dom';
|
||||
import { BrowserRouter, Route, Switch } from 'react-router-dom';
|
||||
import { Admin, Clips, Downloader, NotFound, Oauth, Soundboard, Stats, VideoArchive } from './pages';
|
||||
import { Admin, Clips, Downloader, NotFound, Oauth, Soundboard, Stats, UploadHistory, VideoArchive } from './pages';
|
||||
import './scss/index.scss';
|
||||
import { rootStoreInstance } from './stores';
|
||||
import { Wrapper } from './wrapper';
|
||||
@@ -14,6 +14,7 @@ const App: any = (): any => {
|
||||
<Wrapper>
|
||||
<Switch>
|
||||
<Route exact path="/" component={Soundboard} />
|
||||
<Route path="/upload-history" component={UploadHistory} />
|
||||
<Route path="/downloader" component={Downloader} />
|
||||
<Route path="/clips" component={Clips} />
|
||||
<Route path="/oauth" component={Oauth} />
|
||||
|
||||
Reference in New Issue
Block a user