Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -16,8 +16,11 @@ get_local_storage = """
|
|
| 16 |
|
| 17 |
if(local_data !== undefinfed) {
|
| 18 |
local_data[0].pingpongs.forEach(element =>
|
| 19 |
-
|
|
|
|
| 20 |
}
|
|
|
|
|
|
|
| 21 |
|
| 22 |
return [local_data, history];
|
| 23 |
}
|
|
|
|
| 16 |
|
| 17 |
if(local_data !== undefinfed) {
|
| 18 |
local_data[0].pingpongs.forEach(element =>
|
| 19 |
+
history.push([element.ping, element.pong])
|
| 20 |
+
)
|
| 21 |
}
|
| 22 |
+
|
| 23 |
+
console.log(history)
|
| 24 |
|
| 25 |
return [local_data, history];
|
| 26 |
}
|