Skip to content

Commit 01ff37d

Browse files
committed
fix docs for useSendFeedback()
1 parent e1e77eb commit 01ff37d

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

packages/react-sdk/README.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -347,13 +347,9 @@ function CustomFeedbackForm() {
347347

348348
const handleSubmit = async (data: FormData) => {
349349
await sendFeedback({
350-
featureId: "bucket-feature-id",
350+
featureKey: "bucket-feature-key",
351351
score: parseInt(data.get("score") as string),
352352
comment: data.get("comment") as string,
353-
metadata: {
354-
source: "custom-form",
355-
userRole: "admin",
356-
},
357353
});
358354
};
359355

0 commit comments

Comments
 (0)