We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 148bfe4 commit 5629ce9Copy full SHA for 5629ce9
src/components/ResourcesBySelector.astro
@@ -52,7 +52,7 @@ const resources: Array<CollectionEntry<"docs"> | CollectionEntry<"stream">> = [
52
);
53
});
54
55
-if (resources.length < 1) {
+if (resources.length === 0) {
56
throw new Error(
57
`[ResourcesBySelector] Couldn't resources related to your filtered options`,
58
0 commit comments