From d1014de68415df8f0a5dc3389332e086119c6198 Mon Sep 17 00:00:00 2001
From: nsfisis <nsfisis@gmail.com>
Date: Thu, 27 Nov 2025 04:02:06 +0900
Subject: refactor(nuldoc): eliminate JSX

---
 services/nuldoc/nuldoc-src/components/StaticScript.tsx | 18 ------------------
 1 file changed, 18 deletions(-)
 delete mode 100644 services/nuldoc/nuldoc-src/components/StaticScript.tsx

(limited to 'services/nuldoc/nuldoc-src/components/StaticScript.tsx')

diff --git a/services/nuldoc/nuldoc-src/components/StaticScript.tsx b/services/nuldoc/nuldoc-src/components/StaticScript.tsx
deleted file mode 100644
index 0e3ab19..0000000
--- a/services/nuldoc/nuldoc-src/components/StaticScript.tsx
+++ /dev/null
@@ -1,18 +0,0 @@
-import { join } from "@std/path";
-import { Config } from "../config.ts";
-import { calculateFileHash } from "./utils.ts";
-
-export default async function StaticScript(
-  { fileName, type, defer, config }: {
-    fileName: string;
-    type?: string;
-    defer?: "true";
-    config: Config;
-  },
-) {
-  const filePath = join(Deno.cwd(), config.locations.staticDir, fileName);
-  const hash = await calculateFileHash(filePath);
-  return (
-    <script src={`${fileName}?h=${hash}`} type={type} defer={defer}></script>
-  );
-}
-- 
cgit v1.2.3-70-g09d2

