From 21ec8a759e3e1409a4935ad8132af70b3c069827 Mon Sep 17 00:00:00 2001 From: Seth Trowbridge Date: Sun, 30 Apr 2023 17:24:16 -0400 Subject: [PATCH] add h --- lib/iso.tsx | 2 +- server.tsx | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/iso.tsx b/lib/iso.tsx index 231e35e..2cba9c8 100644 --- a/lib/iso.tsx +++ b/lib/iso.tsx @@ -1,6 +1,6 @@ import TWPreTail from "https://esm.sh/v115/@twind/preset-tailwind@1.1.4/es2022/preset-tailwind.mjs"; import TWPreAuto from "https://esm.sh/v115/@twind/preset-autoprefix@1.0.7/es2022/preset-autoprefix.mjs"; -import React from "react"; +import React, {createElement as h} from "react"; import { Boot as _Boot } from "../server.tsx"; export const CSS = { diff --git a/server.tsx b/server.tsx index 4afa0bd..2c6f1d7 100644 --- a/server.tsx +++ b/server.tsx @@ -6,7 +6,7 @@ import * as HTTP from "https://deno.land/std@0.185.0/http/server.ts" import SSR from "https://esm.sh/v113/preact-render-to-string@6.0.2"; import Prepass from "https://esm.sh/preact-ssr-prepass@1.2.0"; import * as Twind from "https://esm.sh/@twind/core@1.1.3"; -import React from "react"; +import React, {createElement as h} from "react"; import * as Iso from "@eno/iso"; /** @@ -15,6 +15,8 @@ import * as Iso from "@eno/iso"; * dynamic imports * Deno.mainModule * Deno.serve + * unspecified h + * ESBuild */ /**