makin look nice

This commit is contained in:
2025-12-11 11:27:12 +00:00
parent 72cbf25122
commit bbccb5e0ab

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/post/${encodeURIComponent(post.value.ID)}`, `/api/posts/${encodeURIComponent(post.value.ID)}`,
); );
console.log("Deleted:", res.data); console.log("Deleted:", res.data);
fetchPosts(); fetchPosts();