Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
AnshulKahar2729 committed Sep 24, 2024
1 parent b038259 commit e58b879
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/components/UserPortal/UserSidebarOrg/LeaveConfirmModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,20 @@ interface InterfaceLeaveConfirmModalProps {
onHide: () => void;
orgId: string;
}

/**
* LeaveConfirmModal component for user to leave an organization.
*
* Provides:
* - Modal to confirm leaving an organization.
*
* @param orgId - ID of the current organization.
* @param show - Boolean indicating if the modal should be shown.
* @param onHide - Function to hide the modal.
*
* @returns JSX.Element - The rendered LeaveConfirmModal component.
*/

const LeaveConfirmModal: FC<InterfaceLeaveConfirmModalProps> = ({
onHide,
show,
Expand Down

0 comments on commit e58b879

Please sign in to comment.