Skip to content

Commit

Permalink
Merge pull request #129 from SocialGouv/feat/suppr-crisp-epds
Browse files Browse the repository at this point in the history
feat(chat): suppression de crisp sur l'epds
  • Loading branch information
alebret authored Feb 6, 2023
2 parents 104d323 + 983ff68 commit 2894705
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion pages/contact/to-be-contacted.js
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ const defaultContactTypes = {
iconSelected: "../img/contact/chat-selected.svg",
id: RequestContact.type.chat,
isChecked: false,
text: `Par chat (sur ${chatNameUsed})`,
text: `Par chat`,
badge: (
<Badge pill bg="primary">
MAINTENANT DISPONIBLE
Expand Down
3 changes: 0 additions & 3 deletions pages/survey/epds-survey.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import { ContentLayout } from "../../src/components/Layout"
import { SurveyCarousel } from "../../src/components/survey/SurveyCarousel"
import { SurveyProgressBar } from "../../src/components/survey/SurveyProgressBar"
import {
CRISP_CHAT_ID,
EpdsGender,
EPDS_SOURCE,
STORAGE_RESULTS_BOARD,
Expand All @@ -35,7 +34,6 @@ import {
import { updateDemographicData } from "../ab-testing/demographic-data-survey"
import * as StorageUtils from "../../src/utils/storage.utils"
import * as TrackerUtils from "../../src/utils/tracker.utils"
import { Crisp } from "crisp-sdk-web"

export default function EpdsSurvey() {
const router = useRouter()
Expand Down Expand Up @@ -119,7 +117,6 @@ export default function EpdsSurvey() {
}

useEffect(() => {
Crisp.configure(CRISP_CHAT_ID)
setLocaleSelected(StorageUtils.getLocaleInLocalStorage())
}, [])

Expand Down

0 comments on commit 2894705

Please sign in to comment.