Let users customize the preferred reaction palette
This commit is contained in:
parent
7a5385e00a
commit
f28456c160
38 changed files with 1788 additions and 124 deletions
|
@ -2,7 +2,6 @@
|
|||
// SPDX-License-Identifier: AGPL-3.0-only
|
||||
|
||||
import { connect } from 'react-redux';
|
||||
import { get } from 'lodash';
|
||||
import { mapDispatchToProps } from '../actions';
|
||||
import {
|
||||
ProfileEditorModal,
|
||||
|
@ -11,6 +10,7 @@ import {
|
|||
import { PropsDataType } from '../../components/ProfileEditor';
|
||||
import { StateType } from '../reducer';
|
||||
import { getIntl } from '../selectors/user';
|
||||
import { getEmojiSkinTone } from '../selectors/items';
|
||||
import { getMe } from '../selectors/conversations';
|
||||
import { selectRecentEmojis } from '../selectors/emojis';
|
||||
|
||||
|
@ -28,7 +28,7 @@ function mapStateToProps(
|
|||
id: conversationId,
|
||||
} = getMe(state);
|
||||
const recentEmojis = selectRecentEmojis(state);
|
||||
const skinTone = get(state, ['items', 'skinTone'], 0);
|
||||
const skinTone = getEmojiSkinTone(state);
|
||||
|
||||
return {
|
||||
aboutEmoji,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue