blob: 7cd9d4b7b359f10e52e4e84bd5068dbc9628a814 (
plain) (
tree)
|
|
import { saveSettings } from './settings';
export const EMOJI_USE = 'EMOJI_USE';
export function useEmoji(emoji) {
return dispatch => {
dispatch({
type: EMOJI_USE,
emoji,
});
dispatch(saveSettings());
};
};
|