From 331da87bd53bc1fb79063d142764c75df9f32170 Mon Sep 17 00:00:00 2001 From: Wes Bos Date: Wed, 14 Mar 2018 12:19:54 -0400 Subject: tests --- frontend/components/Items.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'frontend/components/Items.js') 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
Error
; } - console.log(this.props); // 3 const itemsToRender = this.props.itemsQuery.items; -- cgit v1.3