Selects custom color when created

This commit is contained in:
Josh Perez
2021-06-03 17:34:36 -04:00
committed by GitHub
parent 6d82acd23c
commit 53d6065c00
8 changed files with 158 additions and 79 deletions
-10
View File
@@ -8,7 +8,6 @@ import {
ChatColorPicker,
PropsDataType,
} from '../../components/ChatColorPicker';
import { ConversationColorType, CustomColorType } from '../../types/Colors';
import { StateType } from '../reducer';
import {
getConversationSelector,
@@ -19,15 +18,6 @@ import { getIntl } from '../selectors/user';
export type SmartChatColorPickerProps = {
conversationId?: string;
isGlobal?: boolean;
onChatColorReset?: () => unknown;
onSelectColor: (
color: ConversationColorType,
customColorData?: {
id: string;
value: CustomColorType;
}
) => unknown;
};
const mapStateToProps = (