From ae8fd2a8818d56ccaab190b1b359b8199231f173 Mon Sep 17 00:00:00 2001 From: kodster28 Date: Mon, 21 Apr 2025 08:57:29 -0500 Subject: [PATCH] [Bug] Fix githubcode bug for non-ts blocks --- src/components/GitHubCode.astro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/GitHubCode.astro b/src/components/GitHubCode.astro index c27344d7b14b549..156912c9924e5ae 100644 --- a/src/components/GitHubCode.astro +++ b/src/components/GitHubCode.astro @@ -29,7 +29,7 @@ const props = z ) .refine( (val) => { - return val.useTypeScriptExample && val.lang === "ts"; + return !val.useTypeScriptExample || val.lang === "ts"; }, { message: