This allows users to control the `preact` version independently of fresh itself.
8 lines
227 B
TypeScript
8 lines
227 B
TypeScript
/** @jsx h */
|
|
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>;
|
|
}
|