From 9a91608da4e32691fecf218b84ca7cd5350fdbcd Mon Sep 17 00:00:00 2001 From: loading <49134864+load1n9@users.noreply.github.com> Date: Fri, 3 Jun 2022 15:24:35 -0400 Subject: [PATCH] fix(docs): examples --- docs/fresh.gen.ts | 5 +---- docs/islands/Example.tsx | 12 ------------ 2 files changed, 1 insertion(+), 16 deletions(-) delete mode 100644 docs/islands/Example.tsx diff --git a/docs/fresh.gen.ts b/docs/fresh.gen.ts index 934ec43..3b0ad1b 100644 --- a/docs/fresh.gen.ts +++ b/docs/fresh.gen.ts @@ -7,7 +7,6 @@ import * as $1 from "./routes/docs/[...slug].tsx"; import * as $2 from "./routes/examples/[...slug].tsx"; import * as $3 from "./routes/gfm.css.ts"; import * as $4 from "./routes/index.tsx"; -import * as $$0 from "./islands/Example.tsx"; const manifest = { routes: { @@ -17,9 +16,7 @@ const manifest = { "./routes/gfm.css.ts": $3, "./routes/index.tsx": $4, }, - islands: { - "./islands/Example.tsx": $$0, - }, + islands: {}, baseUrl: import.meta.url, }; diff --git a/docs/islands/Example.tsx b/docs/islands/Example.tsx deleted file mode 100644 index 1997620..0000000 --- a/docs/islands/Example.tsx +++ /dev/null @@ -1,12 +0,0 @@ -/** @jsx h */ -import { h, IS_BROWSER, useState } from "https://raw.githubusercontent.com/lucacasonato/fresh/main/runtime.ts"; -import Header from "../components/Header.tsx"; - - -export default function Example(props: { name: string }) { - return ( -
-

-
- ); -}