Skip to content

Like Button Not Updating Like Count on "Did You Know" Posts #2

Description

@Vaibhav-Sonkusare

The "Like" button on the Did You Know posts is not functioning as expected. When a user clicks the button, the like count does not increase, and the user's like is not recorded.

Steps to Reproduce:

Navigate to a Did You Know post.

Click the "Like" button.

Observe that the like count remains the same.

Refresh the page – the like is still not registered.

Expected Behavior:
After clicking the Like button, the count should increment by 1 and visually reflect that the user has liked the post.

Actual Behavior:
Clicking the Like button does nothing visibly. The count remains unchanged and the like is not saved.

Environment:

Browser: (e.g., Chrome 125, Firefox 117)

Logged-in status: Yes

Platform: (e.g., Web App, Mobile Browser)

Additional Notes:

This issue occurs consistently across multiple posts.

There are no visible errors in the console.

Other interactive buttons are working fine.

Related Issue:
This appears to be related to #1 (closed), which was closed before the problem was resolved. The issue persists as of 11 June 2025.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions