logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe git clone https://hacktivis.me/git/mastofe.git

emojis.js (238B)


  1. import { saveSettings } from './settings';
  2. export const EMOJI_USE = 'EMOJI_USE';
  3. export function useEmoji(emoji) {
  4. return dispatch => {
  5. dispatch({
  6. type: EMOJI_USE,
  7. emoji,
  8. });
  9. dispatch(saveSettings());
  10. };
  11. };