fix(overlay): fix using wrong key for accountId
All checks were successful
deploy / deploy (push) Successful in 58s

This commit is contained in:
Lee 2023-11-05 21:21:25 +00:00
parent 6b0f1bf5ce
commit 1b6715318a

@ -60,9 +60,9 @@ export default class Overlay extends Component<OverlayProps, OverlayState> {
this.setState({ settings: settings }); this.setState({ settings: settings });
if (settings.settings.showPlayerStats) { if (settings.settings.showPlayerStats) {
this.updatePlayer(settings.playerId); this.updatePlayer(settings.accountId);
setInterval(() => { setInterval(() => {
this.updatePlayer(settings.playerId); this.updatePlayer(settings.accountId);
}, UPDATE_INTERVAL); }, UPDATE_INTERVAL);
} }
} }