Skip to content

Commit

Permalink
fix-minified-issue-on-various-components
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
1 parent a14dfc0 commit 31f5e86
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/components/organization/OrganizationsList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import {
import { EmptyListMessage } from '../EmptyListComponent';
import CustomSpinner from '../CustomSpinner';
import CreateOrgModal from '../CreateOrgModal';
import React from 'react';

const initialPageState = {
pageNumber: 1,
Expand Down Expand Up @@ -131,9 +132,7 @@ 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 @@ -213,7 +212,6 @@ const OrganizationsList = () => {
</div>
);
} else if (organizationsList) {
console.log("test2");
content = (
<EmptyListMessage
message={'No Organization'}
Expand Down

0 comments on commit 31f5e86

Please sign in to comment.