Update doc-survey-widget.tsx
This commit is contained in:
parent
160d5c9396
commit
e889326257
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ export const DocSurveyWidget = ({ className }: Props) => {
|
||||||
}
|
}
|
||||||
|
|
||||||
const data = await updateSurvey({
|
const data = await updateSurvey({
|
||||||
surveyId: survey.id,
|
surveyId: survey?.id,
|
||||||
body: { response: selectedOption, responseText: text },
|
body: { response: selectedOption, responseText: text },
|
||||||
});
|
});
|
||||||
if (!data) return;
|
if (!data) return;
|
||||||
|
|
Loading…
Add table
Reference in a new issue