Take control over your live stream video by running it yourself. Streaming + chat out of the box.
HTML activitypubbroadcastingchatdecentralizedfederationfediversegolanghacktoberfesthlslivelivestreamowncastrtmpself-hostedstreaming-videovideo
Fixed import and lint-errors
t1enned1d9f54e1a83
diff --git a/web/components/chat/ChatContainer/ChatContainer.tsx b/web/components/chat/ChatContainer/ChatContainer.tsxindex 2a06408c8b..37b02dc454 100644--- a/web/components/chat/ChatContainer/ChatContainer.tsx+++ b/web/components/chat/ChatContainer/ChatContainer.tsx@@ -2,10 +2,10 @@ import { Spin } from 'antd';import { Virtuoso } from 'react-virtuoso';import { useRef } from 'react';import { LoadingOutlined } from '@ant-design/icons';-import { ChatMessage } from '/interfaces/chat-message.model';-import { ChatState } from '/interfaces/application-state';+import { ChatMessage } from '../../../interfaces/chat-message.model';+import { ChatState } from '../../../interfaces/application-state';+import { MessageType } from '../../../interfaces/socket-events';import ChatUserMessage from '../ChatUserMessage';-import { MessageType } from '/interfaces/socket-events';import s from './ChatContainer.module.scss';interface Props {diff --git a/web/components/chat/index.ts b/web/components/chat/index.tsnew file mode 100644index 0000000000..4835610ba9--- /dev/null+++ b/web/components/chat/index.ts@@ -0,0 +1,2 @@+export { default as ChatContainer } from './ChatContainer';+export { default as ChatTextField } from './ChatTextField/ChatTextField';diff --git a/web/components/ui/Sidebar/Sidebar.tsx b/web/components/ui/Sidebar/Sidebar.tsxindex e00dd4339a..c0e178cf54 100644--- a/web/components/ui/Sidebar/Sidebar.tsx+++ b/web/components/ui/Sidebar/Sidebar.tsx@@ -1,7 +1,7 @@import Sider from 'antd/lib/layout/Sider';import { useRecoilValue } from 'recoil';import { ChatMessage } from '../../../interfaces/chat-message.model';-import ChatContainer from '/components/chat/ChatContainer';+import { ChatContainer, ChatTextField } from '../../chat';import s from './Sidebar.module.scss';import {chatMessagesAtom,@@ -9,7 +9,6 @@ import {chatStateAtom,} from '../../stores/ClientConfigStore';import { ChatState, ChatVisibilityState } from '../../../interfaces/application-state';-import ChatTextField from '../../chat/ChatTextField/ChatTextField';export default function Sidebar() {const messages = useRecoilValue<ChatMessage[]>(chatMessagesAtom);