Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Comment / Reply not working #85

Open
Rnb69 opened this issue Sep 22, 2023 · 3 comments
Open

Comment / Reply not working #85

Rnb69 opened this issue Sep 22, 2023 · 3 comments

Comments

@Rnb69
Copy link

Rnb69 commented Sep 22, 2023

when i click on Reply/comment button , it does not do anything and shows no error the comment is also not showing in the database.

@Shobhnik13
Copy link

Hey @Rnb69 have u solved this?

@LeinahI
Copy link

LeinahI commented Nov 14, 2023

@LeinahI
Copy link

LeinahI commented Nov 14, 2023

I fixed it
image

What I did?

  1. I downloaded the complete code of threads.
  2. Put my .env-local to my downloaded threads.
  3. run npm install into terminal on downloaded threads.
  4. run the npm run dev of downloaded threads.
  5. I created a thread and I comment it.
  6. I exited my downloaded threads and run my own threads.
  7. I go to ThreadCard.tsx of downloaded thread and I copy and paste it on my own threads.
    Kindly remove the one of backtick in left and right side inside of className, I did it for readable code.
    <article className={``flex w-full flex-col rounded-xl ${ isComment ? "px-0 xs:px-7" : "bg-dark-2 p-7" }``}>
  8. Run the own threads and you might see your post and comments.
  9. (optional) if you have different name for threads, and community like mine in MongoDB. Kindly delete the collection.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants