Handling cache and mutations

This commit is contained in:
Belen Curcio
2017-07-14 14:57:34 -03:00
parent 71b4413f92
commit a8467db7aa
6 changed files with 77 additions and 5 deletions
@@ -2,8 +2,8 @@ import React from 'react';
import {TabCount} from 'plugin-api/beta/client/components/ui';
// TODO: This is just example code, and needs to replaced by an actual implementation.
export default ({active, asset: {featuredCommentCount}}) => (
export default ({active, asset: {featuredCommentsCount}}) => (
<span>
Featured <TabCount active={active} sub>{featuredCommentCount}</TabCount>
Featured <TabCount active={active} sub>{featuredCommentsCount}</TabCount>
</span>
);