VenzlMa 5 lat temu
rodzic
commit
f8d2e82584
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/App.js

+ 1 - 1
src/App.js

@@ -4,7 +4,7 @@ import './App.css';
 import BarChart from 'chart-race-react';
 
 
-//const data = {"apple": "2", "banana": "5", "orange": "2", "yoghurt": "3", "pinguin": "1", "blub": "5"}
+//const data = {"apple": "2", "ELENA": "5", "orange": "2", "yoghurt": "3", "pinguin": "1", "blub": "5"}
 const data = ['apple', 'banana', 'orange', 'yoghurt', 'pinguin', 'blub'].reduce((res, item) => ({...res, ...{[item]: Array(20).fill(0).map(_ => Math.floor(20 * Math.random()))}}), {});
 
 const randomColor = () => {