Skip to content

Commit

Permalink
fix release table loading (#175)
Browse files Browse the repository at this point in the history
  • Loading branch information
zacharyblasczyk authored Oct 27, 2024
1 parent d44a6d8 commit aad2d23
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import {
IconDots,
IconExternalLink,
IconFilter,
IconLoader2,
} from "@tabler/icons-react";
import { capitalCase } from "change-case";
import _ from "lodash";
Expand Down Expand Up @@ -63,13 +62,6 @@ const CollapsibleTableRow: React.FC<CollapsibleTableRowProps> = ({
(approval) => approval.policyId === environment.policyId,
);

if (releaseJobTriggerQuery.isLoading)
return (
<div className="flex h-full w-full items-center justify-center py-12">
<IconLoader2 className="animate-spin" size={32} />
</div>
);

return (
<Fragment>
<TableRow
Expand Down

0 comments on commit aad2d23

Please sign in to comment.