Skip to content

Commit

Permalink
feat: change guest name
Browse files Browse the repository at this point in the history
  • Loading branch information
meelrossi committed Jan 5, 2024
1 parent 4fef3d0 commit 55e3696
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 68 deletions.
30 changes: 15 additions & 15 deletions 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 package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"decentraland": "^3.3.0",
"decentraland-builder-scripts": "^0.24.0",
"decentraland-crypto-fetch": "^2.0.1",
"decentraland-dapps": "^16.21.5",
"decentraland-dapps": "^16.27.0",
"decentraland-ecs": "^6.6.1-20201020183014.commit-bdc29ef-hotfix",
"decentraland-experiments": "^1.0.2",
"decentraland-transactions": "^1.47.0",
Expand Down
11 changes: 1 addition & 10 deletions src/components/Navbar/Navbar.tsx
Original file line number Diff line number Diff line change
@@ -1,19 +1,10 @@
import * as React from 'react'
import { Navbar as BaseNavbar } from 'decentraland-dapps/dist/containers'
import UserInformation from 'components/UserInformation'
import UserMenu from 'components/UserMenu'
import { Props } from './Navbar.types'

export default class Navbar extends React.PureComponent<Props> {
render() {
let props = this.props

if (props.isConnected) {
props = { ...props, rightMenu: <UserMenu /> }
}
if (props.isNewNavbarEnabled) {
props = { ...props, rightMenu: <UserInformation /> }
}
return <BaseNavbar activePage="builder" {...props} />
return <BaseNavbar activePage="builder" {...this.props} rightMenu={<UserInformation />} />
}
}
4 changes: 2 additions & 2 deletions src/components/SceneViewPage/SceneViewMenu/SceneViewMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import * as React from 'react'
import { Button, Responsive } from 'decentraland-ui'

import { t } from 'decentraland-dapps/dist/modules/translation/utils'
import UserMenu from 'components/UserMenu'
import UserInformation from 'components/UserInformation'
import { Props } from './SceneViewMenu.types'

import './SceneViewMenu.css'
Expand All @@ -16,7 +16,7 @@ export default class SceneViewMenu extends React.PureComponent<Props> {
const { isLoggedIn } = this.props

if (isLoggedIn) {
return <UserMenu />
return <UserInformation />
}

return (
Expand Down
27 changes: 0 additions & 27 deletions src/components/UserMenu/UserMenu.container.ts

This file was deleted.

10 changes: 0 additions & 10 deletions src/components/UserMenu/UserMenu.types.ts

This file was deleted.

3 changes: 0 additions & 3 deletions src/components/UserMenu/index.ts

This file was deleted.

0 comments on commit 55e3696

Please sign in to comment.