Skip to content

Commit

Permalink
Update Real-Time-Data-Fetch.md
Browse files Browse the repository at this point in the history
  • Loading branch information
paveltiunov authored Oct 29, 2019
1 parent ca05a05 commit d06b44c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/Cube.js-Backend/Real-Time-Data-Fetch.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,10 @@ const Chart = ({ query }) => {
return <pre>{error.toString()}</pre>;
}

if (!resultSet) {
return null;
}

return <LineChart resultSet={resultSet}/>;
};
```
Expand Down

0 comments on commit d06b44c

Please sign in to comment.