Skip to content

Take control over your live stream video by running it yourself. Streaming + chat out of the box.

Javascript formatting autofixes

Owncastfca4dd9b0a1a
diff --git a/web/components/chat/ChatTextField/EmojiPicker.tsx b/web/components/chat/ChatTextField/EmojiPicker.tsx
index d7b7a16c59..9a9d005568 100644
--- a/web/components/chat/ChatTextField/EmojiPicker.tsx
+++ b/web/components/chat/ChatTextField/EmojiPicker.tsx
@@ -20,7 +20,6 @@ export const EmojiPicker: FC<EmojiPickerProps> = ({ onEmojiSelect, customEmoji }
},
];
useEffect(() => {
-
// hack to make the picker work with viewbox only svgs, 24px is default size
const shadow = document.querySelector('em-emoji-picker').shadowRoot;
const pickerStyles = new CSSStyleSheet();
@@ -28,12 +27,5 @@ export const EmojiPicker: FC<EmojiPickerProps> = ({ onEmojiSelect, customEmoji }
shadow.adoptedStyleSheets = [pickerStyles];
}, []);
- return (
- <Picker
- data={data}
- custom={custom}
- onEmojiSelect={onEmojiSelect}
- dynamicWidth
- />
- );
+ return <Picker data={data} custom={custom} onEmojiSelect={onEmojiSelect} dynamicWidth />;
};