diff --git a/website/src/components/UserFeedback/UserFeedback.stories.jsx b/website/src/components/UserFeedback/UserFeedback.stories.jsx index c1aab5462f..d9be103141 100644 --- a/website/src/components/UserFeedback/UserFeedback.stories.jsx +++ b/website/src/components/UserFeedback/UserFeedback.stories.jsx @@ -13,13 +13,17 @@ FullComponent.args = { // initialData, }; -// export const Step2 = Template.bind({}); -// Step2.args = { -// seedData: { -// ...initialData, -// currentStep: 2, -// }, -// }; +export const Step2 = Template.bind({}); +Step2.args = { + seedData: { + currentStep: 2, + }, +}; export const Step3 = Template.bind({}); +Step3.args = { + seedData: { + currentStep: 3, + }, +}; export const Closed = Template.bind({}); diff --git a/website/src/components/UserFeedback/index.jsx b/website/src/components/UserFeedback/index.jsx index f90c04539e..3517e020a7 100644 --- a/website/src/components/UserFeedback/index.jsx +++ b/website/src/components/UserFeedback/index.jsx @@ -88,10 +88,14 @@ export const FeedbackWrapper = ({ seedData }) => { const setCustomerType = (customerType) => dispatch({ kind: 'set customer type', data: customerType }); + const submitFeedback = () => { + console.log('send feedback here '); + }; + const Step1 = () => { const [newValue, setNewValue] = React.useState(undefined); return ( -