-
Notifications
You must be signed in to change notification settings - Fork 684
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
Conversation
|
||
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 |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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
38b3bf3
to
ad00530
Compare
No description provided.