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 684ff26 commit e98b07bCopy full SHA for e98b07b
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