Skip to content

docs(react-sdk): fix docs for useSendFeedback()#443

Merged
roncohen merged 3 commits intomainfrom
fix-send-feedback-docs
Jun 26, 2025
Merged

docs(react-sdk): fix docs for useSendFeedback()#443
roncohen merged 3 commits intomainfrom
fix-send-feedback-docs

Conversation

@roncohen
Copy link
Contributor

No description provided.

@roncohen roncohen requested review from Copilot and makwarth June 26, 2025 09:43
@roncohen roncohen enabled auto-merge June 26, 2025 09:43
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR corrects the documentation example for the useSendFeedback() hook in the react-sdk. The key changes are:

  • Renaming the parameter from featureId to featureKey.
  • Removing the metadata object from the example usage.
Comments suppressed due to low confidence (1)

packages/react-sdk/README.md:350

  • Ensure that the updated parameter 'featureKey' is consistent with the current API documentation for useSendFeedback(). Consider adding a brief note to highlight the change if previous versions used 'featureId'.
      featureKey: "bucket-feature-key",

@roncohen roncohen added this pull request to the merge queue Jun 26, 2025
Merged via the queue into main with commit 67c230c Jun 26, 2025
6 checks passed
@roncohen roncohen deleted the fix-send-feedback-docs branch June 26, 2025 10:12
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

Successfully merging this pull request may close these issues.

2 participants