We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e1e77eb commit 01ff37dCopy full SHA for 01ff37d
1 file changed
packages/react-sdk/README.md
@@ -347,13 +347,9 @@ function CustomFeedbackForm() {
347
348
const handleSubmit = async (data: FormData) => {
349
await sendFeedback({
350
- featureId: "bucket-feature-id",
+ featureKey: "bucket-feature-key",
351
score: parseInt(data.get("score") as string),
352
comment: data.get("comment") as string,
353
- metadata: {
354
- source: "custom-form",
355
- userRole: "admin",
356
- },
357
});
358
};
359
0 commit comments