Skip to content

Commit 5629ce9

Browse files
authored
Update ResourcesBySelector.astro
1 parent 148bfe4 commit 5629ce9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/ResourcesBySelector.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ const resources: Array<CollectionEntry<"docs"> | CollectionEntry<"stream">> = [
5252
);
5353
});
5454
55-
if (resources.length < 1) {
55+
if (resources.length === 0) {
5656
throw new Error(
5757
`[ResourcesBySelector] Couldn't resources related to your filtered options`,
5858
);

0 commit comments

Comments
 (0)