fix: lint errors en warnings opgelost voor CI

This commit is contained in:
Janpeter Visser 2026-04-24 14:09:03 +02:00
parent 97a4173cba
commit ecc7a10679
14 changed files with 38 additions and 26 deletions

View file

@ -26,7 +26,7 @@ export function RoleManager({ currentRoles, isDemo }: RoleManagerProps) {
function toggle(role: string) {
setSelected(prev => {
const next = new Set(prev)
next.has(role) ? next.delete(role) : next.add(role)
if (next.has(role)) { next.delete(role) } else { next.add(role) }
return next
})
setSaved(false)