From a24eb1cfbd3c294bea39bca53125883c270ca91f Mon Sep 17 00:00:00 2001 From: Wes Bos Date: Fri, 6 Apr 2018 09:55:40 -0400 Subject: revert back to @connection --- frontend/components/CreateItem.js | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'frontend/components/CreateItem.js') diff --git a/frontend/components/CreateItem.js b/frontend/components/CreateItem.js index 49f2f8f..8072905 100644 --- a/frontend/components/CreateItem.js +++ b/frontend/components/CreateItem.js @@ -42,21 +42,13 @@ 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? without @connection + // 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 }) => (