Skip to content

Commit

Permalink
fix: sonarlint issues
Browse files Browse the repository at this point in the history
Signed-off-by: pranalidhanavade <[email protected]>
  • Loading branch information
pranalidhanavade committed Nov 27, 2024
2 parents 0508903 + d916892 commit a14dfc0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/organization/OrganizationsList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,9 @@ const OrganizationsList = () => {
window.location.href = pathRoutes.organizations.dashboard;
};
let content: React.JSX.Element = <></>;
console.log("🚀 ~ OrganizationsList ~ organizationsList:", organizationsList)
if (organizationsList && organizationsList?.length > 0) {
console.log("test1");
content = (
<div>
<div className="mt-1 grid w-full grid-cols-1 gap-4 mt-0 mb-4 xl:grid-cols-2 2xl:grid-cols-3">
Expand Down Expand Up @@ -211,6 +213,7 @@ const OrganizationsList = () => {
</div>
);
} else if (organizationsList) {
console.log("test2");
content = (
<EmptyListMessage
message={'No Organization'}
Expand Down
1 change: 1 addition & 0 deletions src/components/organization/interfaces/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ export interface ILogoImage {
imagePreviewUrl: string | ArrayBuffer | null | File;
fileName: string;
}
// FIXME:
export interface EditOrgdetailsModalProps {
openModal: boolean;
setMessage: (message: string) => void;
Expand Down

0 comments on commit a14dfc0

Please sign in to comment.