Better switch value

011f785a79cab8d2256486005c0735d8b1a39285

Cohee <18619528+Cohee1207@users.noreply.github.com>

1 files changed, +1 -3Showing whitespace changes
public/scripts/utils.js+1 -3
@@ -45,9 +45,7 @@ export function convertValueType(value, type) {
4545 return value;
4646 }
4747
4848 type =switch (type.trim().toLowerCase();) {
49-
50- switch (type) {
5149 case 'string':
5250 case 'str':
5351 return String(value);