diff --git a/registry/src/renderer.tsx b/registry/src/renderer.tsx index 4bbdac7..674e2d6 100644 --- a/registry/src/renderer.tsx +++ b/registry/src/renderer.tsx @@ -1,7 +1,7 @@ /// import { React, jsx } from "./deps.ts"; -import { v4 } from "https://deno.land/std/uuid/mod.ts"; +import config from "./config.ts"; class StringReader implements Deno.Reader { private data: Uint8Array; @@ -29,10 +29,10 @@ export default async function render( name: string, data: any ): Promise { - const id = v4.generate(); + console.log(config); const component: { default: () => JSX.IntrinsicElements | Promise; - } = await import(`./views/${name}.tsx?id=${id}.tsx`); + } = await import(`./views/${name}.tsx`); const res = await ().render();