takanome-dev / astro.go.blog

Blog app with Astro 🚀 on the front and Go 🐹 on the back
https://blog-with-astro-golang.vercel.app/
MIT License
32 stars 5 forks source link

Bug: shouldn't be able to add a comment on a draft post #98

Closed takanome-dev closed 5 months ago

takanome-dev commented 5 months ago

Describe the bug

If you add a draft post, you can see the add comment input showing up in there which is not the expected behavior

Steps to reproduce

  1. Go to the dashboard
  2. create a draft post
  3. scroll down to the end
  4. see the comment form

Browsers

Chrome

Additional context (Is this in dev or production?)

No response

Contributing Docs