makin look nice

This commit is contained in:
2025-12-11 11:27:51 +00:00
parent bbccb5e0ab
commit 3091a361da

View File

@@ -51,7 +51,7 @@ function prevPost() {
async function deletePost() { async function deletePost() {
try { try {
const res = await axios.delete( const res = await axios.delete(
`/api/posts/${encodeURIComponent(post.value.ID)}`, `/api/posts/${encodeURIComponent(post.value.id)}`,
); );
console.log("Deleted:", res.data); console.log("Deleted:", res.data);
fetchPosts(); fetchPosts();