Skip to content

Commit b8a2b79

Browse files
committed
fix(home): continue showing pull request count when refetching
1 parent 5a240ca commit b8a2b79

1 file changed

Lines changed: 11 additions & 6 deletions

File tree

src/browser/components/home.tsx

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1133,17 +1133,22 @@ export function Home() {
11331133
{/* Results Header */}
11341134
<div className="flex items-center justify-between px-4 py-2 border-b border-border shrink-0">
11351135
<span className="text-xs text-muted-foreground">
1136-
{loadingPrs ? (
1136+
{prListPending ? (
11371137
<span className="flex items-center gap-2">
11381138
<Loader2 className="w-3 h-3 animate-spin" />
11391139
Loading...
11401140
</span>
11411141
) : (
1142-
<span>
1143-
<span className="font-medium text-foreground">
1144-
{totalCount.toLocaleString()}
1145-
</span>{" "}
1146-
pull requests
1142+
<span className="flex items-center gap-2">
1143+
<span>
1144+
<span className="font-medium text-foreground">
1145+
{totalCount.toLocaleString()}
1146+
</span>{" "}
1147+
pull requests
1148+
</span>
1149+
{loadingPrs && (
1150+
<Loader2 className="w-3 h-3 animate-spin" />
1151+
)}
11471152
</span>
11481153
)}
11491154
</span>

0 commit comments

Comments
 (0)