mirror of
https://github.com/FranP-code/Tic-Tac-Toe-Game.git
synced 2025-10-12 23:52:39 +00:00
Localstorage bug fix
This commit is contained in:
@@ -45,7 +45,7 @@ export default function victoryActions(combination, playerName, data) {
|
||||
|
||||
game.classList.add('hidden')
|
||||
|
||||
localStorage.setItem('data', JSON.stringify(data))
|
||||
localStorage.setItem('tic-tac-toe-data', JSON.stringify(data))
|
||||
|
||||
location.reload();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user