fix language got reset when reseting statistics

This commit is contained in:
Songyi Huang 2021-06-17 20:59:38 -07:00
parent 1706e04fbf
commit 3a95257beb
1 changed files with 3 additions and 3 deletions

View File

@ -545,19 +545,19 @@ function PvEDoudizhuDemoView() {
localStorage.removeItem('GAME_STATISTICS');
setStatisticRows([
{
role: 'Landlord',
role: t('doudizhu.landlord'),
win: 0,
total: 0,
winRate: '-',
},
{
role: 'Landlord Up',
role: t('doudizhu.landlord_up'),
win: 0,
total: 0,
winRate: '-',
},
{
role: 'Landlord Down',
role: t('doudizhu.landlord_down'),
win: 0,
total: 0,
winRate: '-',