fix: lint errors en warnings opgelost voor CI
This commit is contained in:
parent
97a4173cba
commit
ecc7a10679
14 changed files with 38 additions and 26 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue