Skip to content

Commit

Permalink
feat: Update intercom component (#2342)
Browse files Browse the repository at this point in the history
* feat: Update decentraland-dapps package

* feat: Update Intercom component
  • Loading branch information
cyaiox authored Dec 20, 2024
1 parent 151e6e9 commit 94f3ceb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions webapp/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion webapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"dcl-catalyst-commons": "^9.0.1",
"decentraland-connect": "^7.3.2",
"decentraland-crypto-fetch": "^1.0.3",
"decentraland-dapps": "^23.16.0",
"decentraland-dapps": "^23.17.0",
"decentraland-transactions": "^2.18.0",
"decentraland-ui": "^6.12.1",
"ethers": "^5.6.8",
Expand Down
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 94f3ceb

Please sign in to comment.