diff --git a/website/src/components/UserFeedback/index.jsx b/website/src/components/UserFeedback/index.jsx index 732a1c65cb..3c0fbef31c 100644 --- a/website/src/components/UserFeedback/index.jsx +++ b/website/src/components/UserFeedback/index.jsx @@ -95,7 +95,14 @@ export const FeedbackWrapper = ({ seedData, open }) => { const Step1 = () => { const [newValue, setNewValue] = React.useState(undefined); return ( -
); @@ -169,8 +166,18 @@ export const FeedbackWrapper = ({ seedData, open }) => { const Step2 = () => { const textareaId = 'feedback-comment-input'; + const saveComment = () => + setComment(document.getElementById(textareaId).value); + return ( - ); }; const Step3 = () => { - const [customerType, setCustomerType] = React.useState(); + const [value, setValue] = React.useState(); return ( -