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