Skip to content

Commit

Permalink
add matomo
Browse files Browse the repository at this point in the history
  • Loading branch information
desoindx committed Nov 18, 2024
1 parent b48ea09 commit c62bfad
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 1 addition & 0 deletions src/components/outils/AlimentationSimulator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ const AlimentationSimulator = () => {
toggleCategories={(name) => {
const open = openCategories[name]
setOpenCategories({ ...openCategories, [name]: !open })
track('Alimentation', value.name, open ? 'close' : 'open')
}}
/>
))
Expand Down
1 change: 0 additions & 1 deletion src/components/shareable/overScreens/Share.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ const Share = ({
path?: string
tracking?: string
}) => {
console.log(category)
const allParams = useParamContext()
const [visibility, setVisibility] = useState<Record<string, boolean> | null>(null)

Expand Down
2 changes: 0 additions & 2 deletions src/providers/useSearchEquivalent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ export const useSearchEquivalent = (search: string, excludeEmpty?: boolean, cate
} = useParamContext()

useEffect(() => {
console.log('ici')
const translatedEquivalents = equivalents
.filter((equivalent) => {
if (equivalent.category === 4) {
Expand All @@ -76,7 +75,6 @@ export const useSearchEquivalent = (search: string, excludeEmpty?: boolean, cate
}, [language, category, modes])

useEffect(() => {
console.log(search, fuses)
if (fuses) {
setResults(
excludeEmpty
Expand Down

0 comments on commit c62bfad

Please sign in to comment.