mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
only call Intercom after load event is dispatched
This commit is contained in:
parent
fcef8e14e7
commit
b42ef5a5bc
1 changed files with 0 additions and 1 deletions
|
|
@ -9,7 +9,6 @@ export default function Support(): JSX.Element {
|
|||
}, [])
|
||||
|
||||
useEffect(() => {
|
||||
initAnalytics()
|
||||
window.addEventListener('load', initAnalytics)
|
||||
return () => {
|
||||
window.removeEventListener('load', initAnalytics)
|
||||
|
|
|
|||
Loading…
Reference in a new issue