aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/App.js3
-rw-r--r--src/Post.js11
2 files changed, 2 insertions, 12 deletions
diff --git a/src/App.js b/src/App.js
index 107e380..747b246 100644
--- a/src/App.js
+++ b/src/App.js
@@ -33,8 +33,7 @@ class App extends Component {
})
.then(resource => {
this.setState({ boardList: resource["boards"], isLoaded: true });
- })
- .catch(console.error);
+ });
}
render() {
diff --git a/src/Post.js b/src/Post.js
index 6fd0653..73ae6c0 100644
--- a/src/Post.js
+++ b/src/Post.js
@@ -1,14 +1,5 @@
import React from "react";
-import {
- Segment,
- Header,
- Image,
- Label,
- Icon,
- Modal,
- Comment,
- Divider
-} from "semantic-ui-react";
+import { Image, Icon, Modal, Comment } from "semantic-ui-react";
import Moment from "react-moment";
import "moment/locale/es";
import { avatars } from "./Quotes";