From ff7fb5ee96e0ed6c48772547f74773361fee41a1 Mon Sep 17 00:00:00 2001
From: Viarezo <viarezo@viarezo.fr>
Date: Sat, 9 Oct 2021 15:40:48 +0200
Subject: [PATCH] git gud

---
 src/App.js | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/App.js b/src/App.js
index e06c530..5687b2a 100644
--- a/src/App.js
+++ b/src/App.js
@@ -2,6 +2,10 @@ import './App.css';
 import { Counter } from './Counter';
 
 const App = () => {
+  const compteurs = []
+  for (let pas = 0; pas < 5; pas++) {
+    compteurs.push(<Counter title={"Le compteur n° "+String(pas)}/>)
+  }
   return (
     <div>
       <div className="App">
@@ -9,7 +13,7 @@ const App = () => {
             <h1>Bienvenue sur notre super site !</h1>
           </div>
       </div>
-      <Counter title="Un compteur : insane"/>
+      {compteurs}
     </div>
   );
 }
-- 
GitLab