aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Renard 2019-09-16 19:15:18 -0300
committerLibravatar Renard 2019-09-16 19:15:18 -0300
commit76e055ab6aad9cbc314b17eeff566e1465490294 (patch)
treef051c3f342f97a49261d649e00f0cf83624d9266
parent4a84a4a9079bedc37a818df1645730fce1749ecb (diff)
downloadbai-client-76e055ab6aad9cbc314b17eeff566e1465490294.tar.gz
bai-client-76e055ab6aad9cbc314b17eeff566e1465490294.tar.xz
bai-client-76e055ab6aad9cbc314b17eeff566e1465490294.zip
Linting: Quitando imports sin usar
-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";