Reformat code with Prettier's new rules.

This commit is contained in:
Caio Cotts
2023-12-18 14:56:03 -05:00
parent 735d670a5b
commit 86757663d6
82 changed files with 236 additions and 222 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ const useStyles = makeStyles(
},
},
}),
{ name: 'RaDeleteWithConfirmButton' }
{ name: 'RaDeleteWithConfirmButton' },
)
const DeleteUserButton = (props) => {
+2 -2
View File
@@ -33,7 +33,7 @@ const UserCreate = (props) => {
resource: 'user',
payload: { data: values },
},
{ returnPromise: true }
{ returnPromise: true },
)
notify('resources.user.notifications.created', 'info', {
smart_count: 1,
@@ -45,7 +45,7 @@ const UserCreate = (props) => {
}
}
},
[mutate, notify, redirect]
[mutate, notify, redirect],
)
return (
+2 -2
View File
@@ -85,7 +85,7 @@ const UserEdit = (props) => {
resource: 'user',
payload: { id: values.id, data: values },
},
{ returnPromise: true }
{ returnPromise: true },
)
notify('resources.user.notifications.updated', 'info', {
smart_count: 1,
@@ -97,7 +97,7 @@ const UserEdit = (props) => {
}
}
},
[mutate, notify, permissions, redirect, refresh]
[mutate, notify, permissions, redirect, refresh],
)
return (