minor tweak

This commit is contained in:
AlexAlexandre 2021-12-21 10:33:31 -03:00
parent 037c921f46
commit 2bc39cc4b8
1 changed files with 3 additions and 3 deletions

View File

@ -8,12 +8,11 @@ import { isAndroid } from '../../utils/deviceInfo';
import { themes } from '../../constants/colors'; import { themes } from '../../constants/colors';
import { withTheme } from '../../theme'; import { withTheme } from '../../theme';
import styles from './styles'; import styles from './styles';
import { IMessage } from '../../definitions/IMessage';
interface IRoomReactionPickerProps { interface IRoomReactionPickerProps {
baseUrl: string; baseUrl: string;
message: { message: IMessage;
id: string;
};
show: boolean; show: boolean;
isMasterDetail: boolean; isMasterDetail: boolean;
reactionClose(): void; reactionClose(): void;
@ -81,4 +80,5 @@ const mapStateToProps = (state: any) => ({
isMasterDetail: state.app.isMasterDetail isMasterDetail: state.app.isMasterDetail
}); });
// TODO remove this any after merge the HOCs PR
export default connect(mapStateToProps)(withTheme(ReactionPicker)) as any; export default connect(mapStateToProps)(withTheme(ReactionPicker)) as any;