From 9f9b3909891a35f64e9210bf8559deb4acce2410 Mon Sep 17 00:00:00 2001 From: Fabian Stamm Date: Sat, 1 Aug 2020 00:03:23 +0200 Subject: [PATCH] Remove render debugging --- registry/src/renderer.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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();