Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
11 lines
265 B
TypeScript
11 lines
265 B
TypeScript
import { RouteContext } from "$fresh/server.ts";
|
|
|
|
export default async function AsyncSubPage(req: Request, ctx: RouteContext) {
|
|
await new Promise((r) => setTimeout(r, 10));
|
|
return (
|
|
<div class="async-sub-page">
|
|
<p>Async Sub page</p>
|
|
</div>
|
|
);
|
|
}
|