Chore: Align variable names

This commit is contained in:
Gustav Hansen 2023-06-13 06:54:59 +02:00
parent a57127c47a
commit 7de42f7030

View File

@ -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}>