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 fc27293 commit ae8fd2aCopy full SHA for ae8fd2a
src/components/GitHubCode.astro
@@ -29,7 +29,7 @@ const props = z
29
)
30
.refine(
31
(val) => {
32
- return val.useTypeScriptExample && val.lang === "ts";
+ return !val.useTypeScriptExample || val.lang === "ts";
33
},
34
{
35
message:
0 commit comments