Skip to content

Commit

Permalink
fix example data
Browse files Browse the repository at this point in the history
  • Loading branch information
Domino987 committed Jul 26, 2021
1 parent 6a0be95 commit e02af78
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion __tests__/demo/demo-components/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,9 @@ const global_cols = [
* Basic demo that shows a single detail panel, in this case a youtube vid
*/
export function Basic() {
return <MaterialTable title="Basic" columns={global_cols} data={data} />;
return (
<MaterialTable title="Basic" columns={global_cols} data={global_data} />
);
}

export function BasicRef() {
Expand Down

0 comments on commit e02af78

Please sign in to comment.