From 1cb21f7b8998036f3ba14f53c456841bf6143085 Mon Sep 17 00:00:00 2001 From: Carter Snook Date: Mon, 4 Jul 2022 08:40:26 -0500 Subject: [PATCH] docs: fix incorrect runtime imports (#375) --- docs/concepts/static-files.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/concepts/static-files.md b/docs/concepts/static-files.md index 6071b25a..59e87f0a 100644 --- a/docs/concepts/static-files.md +++ b/docs/concepts/static-files.md @@ -25,7 +25,9 @@ is requested at this "locked" path, it will be served with a cache lifetime of one year. ```jsx -import { asset, h } from "../deps.ts"; +/** @jsx h */ +import { h } from "preact"; +import { asset } from "$fresh/runtime.ts"; export default function Page() { return (