Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add notifications to marketplace #2069

Merged
merged 7 commits into from
Dec 11, 2023
Merged

feat: add notifications to marketplace #2069

merged 7 commits into from
Dec 11, 2023

Conversation

lauti7
Copy link
Member

@lauti7 lauti7 commented Dec 5, 2023

No description provided.

@coveralls
Copy link

coveralls commented Dec 5, 2023

Coverage Status

coverage: 43.355% (+0.03%) from 43.33%
when pulling ad00530 on feat/notifications
into 732cd87 on master.

package-lock.json Outdated Show resolved Hide resolved

const mapState = (state: RootState): MapStateProps => ({
isConnected: isConnected(state),
location: getLocation(state),
hasPendingTransactions: getTransactions(state).some(tx =>
isPending(tx.status)
),
isNewNavbarDropdownEnabled: getIsNewNavbarDropdownEnabled(state)
isNewNavbarDropdownEnabled: getIsNewNavbarDropdownEnabled(state),
identity: getCurrentIdentity(state) || undefined
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is the || undefined needed? it returns null?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yep it's weird but I need to replace the null with undefined because a downstream component expects AuthIdentity | undefined

@lauti7 lauti7 merged commit f67cf39 into master Dec 11, 2023
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants