Reformat code with Prettier's new rules.
This commit is contained in:
@@ -24,7 +24,7 @@ const useStyles = makeStyles(
|
||||
},
|
||||
},
|
||||
}),
|
||||
{ name: 'RaDeleteWithConfirmButton' }
|
||||
{ name: 'RaDeleteWithConfirmButton' },
|
||||
)
|
||||
|
||||
const DeleteUserButton = (props) => {
|
||||
|
||||
@@ -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 (
|
||||
|
||||
@@ -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 (
|
||||
|
||||
Reference in New Issue
Block a user