Skip to content

Commit

Permalink
resolve sonar qube issues
Browse files Browse the repository at this point in the history
  • Loading branch information
mjatin-dev committed Jan 5, 2025
1 parent cf96770 commit a93bea8
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion admin-ui/app/routes/Apps/Gluu/GluuPermissionModal.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import React from "react";
import { useTranslation } from "react-i18next";
import { Button, Modal, ModalBody, ModalFooter, ModalHeader } from "reactstrap";
import PropTypes from 'prop-types'

const GluuPermissionModal = ({ description = "", handler, isOpen }) => {
const GluuPermissionModal = ({ handler, isOpen }) => {
const { t } = useTranslation();

return (
Expand Down Expand Up @@ -46,4 +47,10 @@ const GluuPermissionModal = ({ description = "", handler, isOpen }) => {
);
};


GluuPermissionModal.propTypes = {
handler: PropTypes.func,
isOpen: PropTypes.bool,
}

export default GluuPermissionModal;

0 comments on commit a93bea8

Please sign in to comment.