From a20c31f8d5c7329812705844ab452969bb23d7ac Mon Sep 17 00:00:00 2001 From: Ayobami Akingbade Date: Wed, 25 Oct 2023 10:20:10 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=A6=20ci(lint):=20fix=20lint=20issues?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/frontend/views/entity/Crud/index.tsx | 2 +- src/frontend/views/roles/Permissions/MutatePermission.tsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/frontend/views/entity/Crud/index.tsx b/src/frontend/views/entity/Crud/index.tsx index 34d0843fc..e6ee45d9a 100644 --- a/src/frontend/views/entity/Crud/index.tsx +++ b/src/frontend/views/entity/Crud/index.tsx @@ -124,7 +124,7 @@ function useEntityCrudView() { } else if (field === "delete" && newState.delete) { newState.details = true; } - + setEntityCrudSettingsState(newState); upsertCrudSettingsMutation.mutateAsync( newState as unknown as Record diff --git a/src/frontend/views/roles/Permissions/MutatePermission.tsx b/src/frontend/views/roles/Permissions/MutatePermission.tsx index 475ab9c6d..cd6beeebc 100644 --- a/src/frontend/views/roles/Permissions/MutatePermission.tsx +++ b/src/frontend/views/roles/Permissions/MutatePermission.tsx @@ -5,13 +5,13 @@ import { FormButton } from "frontend/design-system/components/Button/FormButton" import { Spacer } from "frontend/design-system/primitives/Spacer"; import { RenderList } from "frontend/design-system/components/RenderList"; import { SectionListItem } from "frontend/design-system/components/Section/SectionList"; +import { USER_PERMISSIONS } from "shared/constants/user"; +import { PORTAL_PERMISSION_HEIRACHIES } from "shared/logic/permissions/portal"; import { useCreateRolePermissionMutation, useRolePermissionDeletionMutation, useRolePermissions, } from "../permissions.store"; -import { USER_PERMISSIONS } from "shared/constants/user"; -import { PORTAL_PERMISSION_HEIRACHIES } from "shared/logic/permissions/portal"; interface IProps { permissionList: ILabelValue[];