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 d0821bd commit 9f57125
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions webapp/src/components/Routes/Routes.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { useCallback, useEffect } from 'react'
import { Switch, Route, Redirect, RouteComponentProps, useLocation } from 'react-router-dom'
import Intercom from 'decentraland-dapps/dist/components/Intercom'
import { EnhancedIntercom } from 'decentraland-dapps/dist/containers/EnhancedIntercom'
import useManaFiatGatewayPurchase from 'decentraland-dapps/dist/hooks/useManaFiatGatewayPurchase'
import { usePageTracking } from 'decentraland-dapps/dist/hooks/usePageTracking'
import { t } from 'decentraland-dapps/dist/modules/translation/utils'
Expand Down Expand Up @@ -99,7 +99,7 @@ const Routes = ({ inMaintenance, onLocationChanged }: Props) => {
<Redirect from="/browse" to={locations.browse() + window.location.search} push />
<Redirect to={locations.root()} />
</Switch>
{APP_ID ? <Intercom appId={APP_ID} settings={{ alignment: 'right' }} /> : null}
{APP_ID ? <EnhancedIntercom appId={APP_ID} settings={{ alignment: 'right' }} /> : null}
</>
)
}
Expand Down

0 comments on commit 9f57125

Please sign in to comment.