mirror of
https://github.com/strapi/strapi.git
synced 2025-08-06 15:53:11 +00:00
Chore: Align variable names
This commit is contained in:
parent
a57127c47a
commit
7de42f7030
@ -39,7 +39,7 @@ const ModalForm = ({ onSuccess, onToggle }) => {
|
||||
const toggleNotification = useNotification();
|
||||
const { lockApp, unlockApp } = useOverlayBlocker();
|
||||
const { post } = useFetchClient();
|
||||
const roleRowLayout = useEnterprise(
|
||||
const roleLayout = useEnterprise(
|
||||
ROLE_LAYOUT,
|
||||
async () =>
|
||||
(
|
||||
@ -203,7 +203,7 @@ const ModalForm = ({ onSuccess, onToggle }) => {
|
||||
value={values.roles}
|
||||
/>
|
||||
</GridItem>
|
||||
{roleRowLayout.map((row) => {
|
||||
{roleLayout.map((row) => {
|
||||
return row.map((input) => {
|
||||
return (
|
||||
<GridItem key={input.name} {...input.size}>
|
||||
|
Loading…
x
Reference in New Issue
Block a user