aboutsummaryrefslogtreecommitdiff
path: root/src/App.js
diff options
context:
space:
mode:
authorLibravatar Renard 2019-09-15 20:52:10 -0300
committerLibravatar Renard 2019-09-15 20:52:10 -0300
commit4a39a75a5a8beda6b28b311c78990d72f1cfe7cf (patch)
treec4ee1daf161604637961a5bc86690ade32a0e484 /src/App.js
parent674880a5376e759c149d7aa6cb4ccbc8247cbd94 (diff)
downloadbai-client-4a39a75a5a8beda6b28b311c78990d72f1cfe7cf.tar.gz
bai-client-4a39a75a5a8beda6b28b311c78990d72f1cfe7cf.tar.xz
bai-client-4a39a75a5a8beda6b28b311c78990d72f1cfe7cf.zip
Refractor BBSThread
Diffstat (limited to 'src/App.js')
-rw-r--r--src/App.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/App.js b/src/App.js
index 551fed9..99860cc 100644
--- a/src/App.js
+++ b/src/App.js
@@ -6,7 +6,7 @@ import "./App.css";
import { Dropdown, Menu, Icon, Loader, Container } from "semantic-ui-react";
import Home from "./Home";
-import BBSThread from "./BBSThread";
+import Thread from "./Thread";
import Board from "./Board";
import NotFound from "./NotFound"
@@ -65,9 +65,9 @@ class App extends Component {
<Container className="main">
<Router>
<Home boardList={this.state.boardList} path="/" />
- <BBSThread path="/:dir/read/:id">
- <BBSThread path=":active" />
- </BBSThread>
+ <Thread path="/:dir/read/:id">
+ <Thread path=":active" />
+ </Thread>
<Board path="/board/:dir" />
<NotFound default />
</Router>