Skip to content

Commit

Permalink
feat: Update Intercom component
Browse files Browse the repository at this point in the history
  • Loading branch information
cyaiox committed Dec 19, 2024
1 parent 01bcd7e commit aa79ab2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Intercom/Intercom.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, { useState, useCallback, useEffect } from 'react'
import IntercomWidget from 'decentraland-dapps/dist/components/Intercom'
import { EnhancedIntercom } from 'decentraland-dapps/dist/containers/EnhancedIntercom'
import { getAnalytics, getAnonymousId } from 'decentraland-dapps/dist/modules/analytics/utils'
import { config } from 'config'
import { IntercomUserData } from './Intercom.types'
Expand All @@ -21,7 +21,7 @@ export const Intercom: React.FC = () => {
analytics.ready(analyticsReadyCallback)
}, [analyticsReadyCallback])

return <IntercomWidget appId={APP_ID} data={intercomUserData} settings={{ alignment: 'right' }} />
return <EnhancedIntercom appId={APP_ID} data={intercomUserData} settings={{ alignment: 'right' }} />
}

export default Intercom

0 comments on commit aa79ab2

Please sign in to comment.