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
|
|
@ -12,7 +12,7 @@ import { Badge } from "@hive/shared/badge.js";
|
|||
import { EmptyState } from "../../ui/empty-state/EmptyState.js";
|
||||
import {
|
||||
ExpandableCard,
|
||||
ExpandableCardSkeleton,
|
||||
ExpandableCardListSkeleton,
|
||||
} from "../../ui/expandable-card/ExpandableCard.js";
|
||||
import { Hint } from "../../ui/hint/Hint.js";
|
||||
import { Toolbar } from "../../ui/toolbar/Toolbar.js";
|
||||
|
|
@ -163,11 +163,7 @@ function BuildsBody() {
|
|||
) : null}
|
||||
<div class="ui-builds-list">
|
||||
{runs === null && !error ? (
|
||||
<>
|
||||
<ExpandableCardSkeleton />
|
||||
<ExpandableCardSkeleton />
|
||||
<ExpandableCardSkeleton />
|
||||
</>
|
||||
<ExpandableCardListSkeleton label="the builds" />
|
||||
) : null}
|
||||
{(runs ?? []).map((run) => (
|
||||
<BuildCard
|
||||
|
|
|
|||
Loading…
Reference in a new issue