Fix formatting

Signed-off-by: Artem Savchenko <armisav@gmail.com>
This commit is contained in:
Artem Savchenko
2026-04-08 14:58:37 +07:00
parent fbf0a0d899
commit ee7c0a64c3
+1 -3
View File
@@ -335,9 +335,7 @@ export function devTool (
const rawRole = typeof raw === 'string' ? raw.trim() : String(raw ?? 'User').trim()
const normalized = rawRole.trim().toLowerCase()
const match = Object.values(AccountRole).find(
(v) => v.toLowerCase() === normalized
)
const match = Object.values(AccountRole).find((v) => v.toLowerCase() === normalized)
if (match !== undefined) return match
switch (normalized) {