Show user badges in contact modal

This commit is contained in:
Evan Hahn 2021-11-11 10:23:00 -06:00 committed by GitHub
parent 52ceb40d16
commit d0f1b8892d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 2 deletions

View file

@ -7,7 +7,7 @@ import type { PropsDataType } from '../../components/conversation/ContactModal';
import { ContactModal } from '../../components/conversation/ContactModal';
import type { StateType } from '../reducer';
import { getIntl } from '../selectors/user';
import { getIntl, getTheme } from '../selectors/user';
import { getBadgesSelector } from '../selectors/badges';
import { getConversationSelector } from '../selectors/conversations';
@ -42,6 +42,7 @@ const mapStateToProps = (state: StateType): PropsDataType => {
i18n: getIntl(state),
isAdmin,
isMember,
theme: getTheme(state),
};
};