feat: add footer

This commit is contained in:
Stevan Freeborn
2023-09-11 21:23:37 -05:00
parent c4348d9b5e
commit 48e14d41b2
10 changed files with 74 additions and 20 deletions
+6 -1
View File
@@ -90,7 +90,12 @@ export default function Post({ post }: { post: PostWithUserDto }) {
>
<ul>
<li>
<Link href={`/posts/${post._id}/edit`}>Edit post</Link>
<Link
onClick={() => setModalOpen(false)}
href={`/posts/${post._id}/edit`}
>
Edit post
</Link>
</li>
<li className='text-red-600'>
<button