mirror of
https://iceshrimp.dev/blueb/Chuckya-fe-standalone.git
synced 2026-01-11 13:33:21 -08:00
Rename themes -> flavours ? ?
This commit is contained in:
parent
d216547382
commit
bc4fa6b198
313 changed files with 665 additions and 681 deletions
14
app/javascript/flavours/glitch/actions/emojis.js
Normal file
14
app/javascript/flavours/glitch/actions/emojis.js
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
import { saveSettings } from './settings';
|
||||
|
||||
export const EMOJI_USE = 'EMOJI_USE';
|
||||
|
||||
export function useEmoji(emoji) {
|
||||
return dispatch => {
|
||||
dispatch({
|
||||
type: EMOJI_USE,
|
||||
emoji,
|
||||
});
|
||||
|
||||
dispatch(saveSettings());
|
||||
};
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue