fix language got reset when reseting statistics
This commit is contained in:
parent
1706e04fbf
commit
3a95257beb
|
@ -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: '-',
|
||||
|
|
Loading…
Reference in New Issue