File tree Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -92,7 +92,6 @@ const LinkList = props => {
9292 useSubscription ( { query : NEW_VOTES_SUBSCRIPTION } ) ;
9393 useSubscription ( { query : NEW_LINKS_SUBSCRIPTION } ) ;
9494
95- console . log ( data && data . feed ) ;
9695 const linksToRender = React . useMemo ( ( ) => {
9796 if ( ! data || ! data . feed ) {
9897 return [ ] ;
@@ -105,7 +104,7 @@ const LinkList = props => {
105104 return rankedLinks ;
106105 }
107106 } , [ data , isNewPage ] ) ;
108- console . log ( linksToRender ) ;
107+
109108 const nextPage = React . useCallback ( ( ) => {
110109 if ( page <= data . feed . count / 10 ) {
111110 props . history . push ( `/new/${ page + 1 } ` ) ;
Original file line number Diff line number Diff line change @@ -21,11 +21,6 @@ import { FEED_QUERY } from './components/LinkList';
2121import { getToken } from './token' ;
2222
2323const cache = cacheExchange ( {
24- keys : {
25- Feed : data => data . id || null ,
26- Link : data => data . id || null ,
27- Post : data => data . id || null
28- } ,
2924 updates : {
3025 Mutation : {
3126 post : ( { post } , _args , cache ) => {
You can’t perform that action at this time.
0 commit comments