Skip to content

Commit

Permalink
Fix commit suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
DonOmalVindula committed Oct 27, 2023
1 parent b6c1d6b commit 917be49
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,9 @@ export const UpdatedRolePermissionDetails: FunctionComponent<RolePermissionDetai
} = useAPIResourceDetails(selectedAPIResourceId);

useEffect(() => {
!isReadOnly && getExistingAPIResources();
!isReadOnly
? getExistingAPIResources()
: null;
}, [ role ]);

/**
Expand Down

0 comments on commit 917be49

Please sign in to comment.