17 lines
405 B
TypeScript
17 lines
405 B
TypeScript
import { FreshContext, Handlers, PageProps } from "$fresh/server.ts";
|
|
import { useFetch } from "../../lib/useFetch.tsx";
|
|
|
|
interface PostResponse {
|
|
post_id: number;
|
|
first_nane: string;
|
|
last_name: string;
|
|
title: string;
|
|
body: string;
|
|
created_at: string;
|
|
}
|
|
|
|
export default function PostIdentifier(props: PageProps) {
|
|
console.log(props.data);
|
|
return <div>BLOG POST #{props.params.id}</div>;
|
|
}
|