Skip to content

Commit e1d493d

Browse files
fix(catalog-page): handle loading state when specsData is empty
1 parent 200f37b commit e1d493d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/pages/CatalogPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ export function CatalogPage() {
124124
[trackEvent]
125125
);
126126

127-
if (loading) {
127+
if (loading || specsData.length === 0) {
128128
return (
129129
<Box sx={{ py: 4 }}>
130130
<Skeleton variant="text" width={200} height={40} sx={{ mb: 4 }} />

0 commit comments

Comments
 (0)