fixup! swarm-ui: shared Hint, ActionRow, Toolbar, EmptyState, ExternalLink and ExpandableCard replace per-page copies
This commit is contained in:
parent
8a2e5203ad
commit
2b53fcd742
1 changed files with 31 additions and 18 deletions
|
|
@ -11,7 +11,7 @@ import { EmptyState } from "../../ui/empty-state/EmptyState.js";
|
|||
import { ExternalLink } from "../../ui/external-link/ExternalLink.js";
|
||||
import {
|
||||
ExpandableCard,
|
||||
ExpandableCardSkeleton,
|
||||
ExpandableCardListSkeleton,
|
||||
} from "../../ui/expandable-card/ExpandableCard.js";
|
||||
import { Hint } from "../../ui/hint/Hint.js";
|
||||
import { Panel } from "../../ui/panel/Panel.js";
|
||||
|
|
@ -141,11 +141,7 @@ export function ReviewRuns() {
|
|||
) : null}
|
||||
<div class="ui-runs-list">
|
||||
{runs === null && !error ? (
|
||||
<>
|
||||
<ExpandableCardSkeleton metaOnOwnRow />
|
||||
<ExpandableCardSkeleton metaOnOwnRow />
|
||||
<ExpandableCardSkeleton metaOnOwnRow />
|
||||
</>
|
||||
<ExpandableCardListSkeleton label="the runs" metaOnOwnRow />
|
||||
) : null}
|
||||
{(runs ?? []).map((run) => (
|
||||
<RunCard
|
||||
|
|
|
|||
Loading…
Reference in a new issue