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 toggleNotification = useNotification();
|
||||||
const { lockApp, unlockApp } = useOverlayBlocker();
|
const { lockApp, unlockApp } = useOverlayBlocker();
|
||||||
const { post } = useFetchClient();
|
const { post } = useFetchClient();
|
||||||
const roleRowLayout = useEnterprise(
|
const roleLayout = useEnterprise(
|
||||||
ROLE_LAYOUT,
|
ROLE_LAYOUT,
|
||||||
async () =>
|
async () =>
|
||||||
(
|
(
|
||||||
@ -203,7 +203,7 @@ const ModalForm = ({ onSuccess, onToggle }) => {
|
|||||||
value={values.roles}
|
value={values.roles}
|
||||||
/>
|
/>
|
||||||
</GridItem>
|
</GridItem>
|
||||||
{roleRowLayout.map((row) => {
|
{roleLayout.map((row) => {
|
||||||
return row.map((input) => {
|
return row.map((input) => {
|
||||||
return (
|
return (
|
||||||
<GridItem key={input.name} {...input.size}>
|
<GridItem key={input.name} {...input.size}>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user