Add default case

This commit is contained in:
Torjus Håkestad 2021-04-10 15:36:02 +02:00
parent bdfed66505
commit be1d3f6da4

View File

@ -39,6 +39,9 @@ export default class StatsPie extends Vue {
return 'Top 10 Countries'; return 'Top 10 Countries';
case 'total': case 'total':
return 'Totals'; return 'Totals';
// Why doesn't eslint know that this switch is exhaustive?
default:
return 'Top 10 Passwords';
} }
} }