Skip to content

Commit

Permalink
fix: Error after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
bjlaa committed May 4, 2023
1 parent 281a192 commit 7331955
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions source/components/conversation/Conversation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ import {
isPersonaSelector,
objectifsSelector,
} from '../../selectors/simulationSelectors'
import { enquêteSelector } from '../../sites/publicodes/enquête/enquêteSelector'
import { sortBy, useQuery } from '../../utils'
import { questionCategoryName, splitName, title } from '../publicodesUtils'
import SafeCategoryImage from '../SafeCategoryImage'
Expand Down Expand Up @@ -113,6 +114,8 @@ export default function Conversation({
const progress = useSimulationProgress()
const isPersona = useSelector(isPersonaSelector)

const enquête = useSelector(enquêteSelector)

useEffect(() => {
// This hook lets the user click on the "next" button. Without it, the conversation switches to the next question as soon as an answer is provided.
// It introduces a state
Expand Down

0 comments on commit 7331955

Please sign in to comment.