mirror of
https://github.com/FranP-code/Tic-Tac-Toe-Game.git
synced 2025-10-12 23:52:39 +00:00
minor bug
This commit is contained in:
@@ -20,7 +20,7 @@ function main(game) {
|
|||||||
|
|
||||||
const data = localStorage.getItem('data')
|
const data = localStorage.getItem('data')
|
||||||
|
|
||||||
if (data) {
|
if (typeof(data) === 'string') {
|
||||||
|
|
||||||
const checkInputsResult = Object.values(JSON.parse(data))
|
const checkInputsResult = Object.values(JSON.parse(data))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user