Skip to content

Commit

Permalink
don't render raw JSON
Browse files Browse the repository at this point in the history
  • Loading branch information
macfarlandian committed Jan 15, 2021
1 parent a2fb500 commit 671efbb
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ type VizHistoricalPopulationBreakdownProps = {
const VizHistoricalPopulationBreakdown: React.FC<VizHistoricalPopulationBreakdownProps> = ({
data,
}) => {
return <div>{JSON.stringify(data[0])}</div>;
// Just a proof-of-concept on data handling for now
return <div>{data.length} records found</div>;
};

export default VizHistoricalPopulationBreakdown;

0 comments on commit 671efbb

Please sign in to comment.