Skip to content

Commit

Permalink
review updates
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasheriques committed Jan 7, 2025
1 parent 46c39d3 commit bde4295
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions src/__tests__/extensions/surveys.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -805,8 +805,6 @@ describe('preview renders', () => {
const surveyPreviewRef = useRef<HTMLDivElement>(null)
const [currentPageIndex, setCurrentPageIndex] = useState(0)

console.log('Current page index:', currentPageIndex)

const survey = {
id: 'test-survey',
name: 'Test Survey',
Expand Down
2 changes: 1 addition & 1 deletion src/extensions/surveys.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -627,7 +627,7 @@ export function Questions({
originalQuestionIndex,
displayQuestionIndex,
}),
onPreviewSubmit: (res) => onPreviewSubmit(res),
onPreviewSubmit,
})}
</div>
)
Expand Down

0 comments on commit bde4295

Please sign in to comment.