/** * Copyright (c) 2025 favewa * SPDX-License-Identifier: AGPL-3.0-or-later */ import { PageProps } from "fresh"; import { getCachedReports } from "@/utils/atproto.ts"; import Empty from "@/components/Empty.tsx"; export default function PostPage(props: PageProps) { const { rkey } = props.params; const post = getCachedReports().find((rep) => rep.rkey === rkey.toLowerCase() ); if (!post) { return ; } return ( <> ← exit this report {post?.createdAt} {post.title} {post.tags && ( {post.tags.map((tag) => {tag})} )} > ); }