|
|
@@ -66,6 +66,8 @@ const getEmojiTranslation = (): Translation => {
|
|
|
return translation;
|
|
|
};
|
|
|
|
|
|
+const translation = getEmojiTranslation();
|
|
|
+
|
|
|
export const EmojiButton: FC<Props> = (props) => {
|
|
|
const { editorKey } = props;
|
|
|
|
|
|
@@ -98,8 +100,6 @@ export const EmojiButton: FC<Props> = (props) => {
|
|
|
return <></>;
|
|
|
}
|
|
|
|
|
|
- const translation = getEmojiTranslation();
|
|
|
-
|
|
|
const setStyle = (): CSSProperties => {
|
|
|
const offset = 20;
|
|
|
const emojiPickerHeight = 420;
|