fix: typo in default error page "occured" -> "occurred" (#879)
This commit is contained in:
@@ -42,7 +42,7 @@ export default function DefaultErrorPage(props: ErrorPageProps) {
|
||||
padding: 16,
|
||||
fontFamily: "sans-serif",
|
||||
},
|
||||
}, "An error occured during route handling or page rendering."),
|
||||
}, "An error occurred during route handling or page rendering."),
|
||||
message && h("pre", {
|
||||
style: {
|
||||
margin: 0,
|
||||
|
||||
+1
-1
@@ -28,7 +28,7 @@ Deno.test("error page rendered", async () => {
|
||||
const body = await resp.text();
|
||||
assertStringIncludes(
|
||||
body,
|
||||
`An error occured during route handling or page rendering.`,
|
||||
`An error occurred during route handling or page rendering.`,
|
||||
);
|
||||
assertStringIncludes(body, `Error: boom!`);
|
||||
assertStringIncludes(body, `at render`);
|
||||
|
||||
Reference in New Issue
Block a user