summaryrefslogtreecommitdiffstats
path: root/frontend/components/Items.js
diff options
context:
space:
mode:
authorWes Bos <wesbos@gmail.com>2018-03-14 12:19:54 -0400
committerWes Bos <wesbos@gmail.com>2018-03-14 12:19:54 -0400
commit331da87bd53bc1fb79063d142764c75df9f32170 (patch)
treed80aac98154a811fdf57b10e90ac0350fe14568e /frontend/components/Items.js
parent46a0ba30ef54a7e36206481a4f5b2bf1f9702fca (diff)
tests
Diffstat (limited to 'frontend/components/Items.js')
-rw-r--r--frontend/components/Items.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/frontend/components/Items.js b/frontend/components/Items.js
index 01d9786..1b0c8bb 100644
--- a/frontend/components/Items.js
+++ b/frontend/components/Items.js
@@ -18,7 +18,7 @@ const Center = styled.div`
`;
class ItemList extends React.Component {
- something() { }
+ something() {}
render() {
const { loading, error } = this.props.itemsQuery;
// 1
@@ -31,7 +31,6 @@ class ItemList extends React.Component {
console.log(this.props.itemsQuery.error);
return <div>Error</div>;
}
- console.log(this.props);
// 3
const itemsToRender = this.props.itemsQuery.items;