From 8ccb0d93cdc064776454c929e15aa03129be37a3 Mon Sep 17 00:00:00 2001 From: Wes Bos Date: Fri, 11 May 2018 10:46:24 -0400 Subject: clean up --- frontend/components/CreateItem.js | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'frontend/components/CreateItem.js') diff --git a/frontend/components/CreateItem.js b/frontend/components/CreateItem.js index b40932c..0e26330 100644 --- a/frontend/components/CreateItem.js +++ b/frontend/components/CreateItem.js @@ -41,15 +41,9 @@ class CreateItem extends Component { }); }; - // TODO: Problem here - if I refetch page 1, page 2 to infinity are still out of date. I need to refetch all the pages somehow? Or use @connection render() { return ( - + {(createItem, { loading, error }) => (