Skip to content

Commit

Permalink
feat: update
Browse files Browse the repository at this point in the history
  • Loading branch information
lauti7 committed Dec 7, 2023
1 parent 0488dac commit 636ccb3
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 17 deletions.
25 changes: 15 additions & 10 deletions webapp/package-lock.json

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

4 changes: 2 additions & 2 deletions webapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
"dcl-catalyst-commons": "^9.0.1",
"decentraland-connect": "^5.1.0",
"decentraland-crypto-fetch": "^1.0.3",
"decentraland-dapps": "^16.19.0",
"decentraland-dapps": "^16.19.1",
"decentraland-transactions": "^1.50.0",
"decentraland-ui": "^4.30.0",
"decentraland-ui": "^4.30.2",
"dotenv": "^10.0.0",
"ethers": "^5.6.8",
"graphql": "^14.7.0",
Expand Down
2 changes: 1 addition & 1 deletion webapp/src/components/Navbar/Navbar.container.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const mapState = (state: RootState): MapStateProps => ({
isPending(tx.status)
),
isNewNavbarDropdownEnabled: getIsNewNavbarDropdownEnabled(state),
identity: getCurrentIdentity(state)
identity: getCurrentIdentity(state) || undefined
})

const mapDispatch = (dispatch: MapDispatch): MapDispatchProps => ({
Expand Down
2 changes: 1 addition & 1 deletion webapp/src/components/Navbar/Navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const Navbar = (props: Props) => {
if (isNewNavbarDropdownEnabled) {
props = {
...props,
rightMenu: <UserInformation />
rightMenu: <UserInformation identity={props.identity} withNotifications />
}
}

Expand Down
2 changes: 1 addition & 1 deletion webapp/src/components/Navbar/Navbar.types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export type Props = Partial<NavbarProps> & {
enablePartialSupportAlert?: boolean
onNavigate: (path: string) => void
isNewNavbarDropdownEnabled: boolean
identity: AuthIdentity | null
identity?: AuthIdentity
}

export type OwnProps = Pick<Props, 'enablePartialSupportAlert'>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { Dispatch } from 'redux'
import { CallHistoryMethodAction } from 'connected-react-router'
import { UserInformationComponentProps } from 'decentraland-ui'
import { UserInformationProps } from 'decentraland-dapps/dist/containers/UserInformation/UserInformation.types'
import { OpenLoginAction } from '../../modules/login/actions'

export type Props = Partial<UserInformationComponentProps> & {
export type Props = Partial<UserInformationProps> & {
onClickMyAssets: () => void
onClickMyLists: () => void
}
Expand Down

0 comments on commit 636ccb3

Please sign in to comment.