feat: add individual post page

This commit is contained in:
Stevan Freeborn
2023-09-11 22:05:12 -05:00
parent 41401cd3c5
commit 5389a86ed1
5 changed files with 85 additions and 10 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ export default async function EditPostPage({
id: params.id as Id<'posts'>,
});
if (post === 'POST_NOT_FOUND') {
if (post === 'POST_NOT_FOUND' || post === 'USER_FOR_POST_NOT_FOUND') {
// TODO: Return actual not found component
return <h1>Not Found</h1>;
}