aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/App.js8
-rw-r--r--src/Thread.js (renamed from src/BBSThread.js)4
2 files changed, 6 insertions, 6 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>
diff --git a/src/BBSThread.js b/src/Thread.js
index b81264e..eb9d63a 100644
--- a/src/BBSThread.js
+++ b/src/Thread.js
@@ -5,7 +5,7 @@ import "moment/locale/es";
import Post from "./Post";
import ReplyForm from "./ReplyForm";
-class BBSThread extends Component {
+class Thread extends Component {
constructor(props) {
super(props);
this.state = {
@@ -92,4 +92,4 @@ class BBSThread extends Component {
}
}
-export default BBSThread; \ No newline at end of file
+export default Thread; \ No newline at end of file