From 76e055ab6aad9cbc314b17eeff566e1465490294 Mon Sep 17 00:00:00 2001 From: Renard Date: Mon, 16 Sep 2019 19:15:18 -0300 Subject: Linting: Quitando imports sin usar --- src/App.js | 3 +-- src/Post.js | 11 +---------- 2 files changed, 2 insertions(+), 12 deletions(-) (limited to 'src') 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"; -- cgit v1.2.1-18-gbd029