mirror of
https://github.com/stefanpejcic/openpanel
synced 2025-06-26 18:28:26 +00:00
Update doc-survey-widget.tsx
This commit is contained in:
@@ -60,7 +60,7 @@ export const DocSurveyWidget = ({ className }: Props) => {
|
||||
}
|
||||
|
||||
const data = await updateSurvey({
|
||||
surveyId: survey.id,
|
||||
surveyId: survey?.id,
|
||||
body: { response: selectedOption, responseText: text },
|
||||
});
|
||||
if (!data) return;
|
||||
|
||||
Reference in New Issue
Block a user