chore: version preact explicitly in import map (#258)
This allows users to control the `preact` version independently of fresh itself.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/** @jsx h */
|
||||
|
||||
import { ErrorPageProps, h } from "$fresh/runtime.ts";
|
||||
import { h } from "preact";
|
||||
import { ErrorPageProps } from "$fresh/runtime.ts";
|
||||
|
||||
export default function Error500Page({ error }: ErrorPageProps) {
|
||||
return <p>500 internal error: {(error as Error).message}</p>;
|
||||
|
||||
Reference in New Issue
Block a user