chore: format
This commit is contained in:
@@ -309,7 +309,10 @@
|
||||
commitAccessGrants(next);
|
||||
};
|
||||
|
||||
const togglePrincipalWrite = (principalType: 'user' | 'group' | 'anyone', principalId: string) => {
|
||||
const togglePrincipalWrite = (
|
||||
principalType: 'user' | 'group' | 'anyone',
|
||||
principalId: string
|
||||
) => {
|
||||
let next = [...currentGrants()];
|
||||
const hasWrite = hasPrincipalGrant(principalType, principalId, 'write');
|
||||
if (hasWrite) {
|
||||
|
||||
Reference in New Issue
Block a user