Skip to content

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

Cleanup to support next update

Gabe Kangas62daceaa9bd7
diff --git a/web/components/config/edit-logo.tsx b/web/components/config/edit-logo.tsx
index c92189e3d8..b3e9c057f2 100644
--- a/web/components/config/edit-logo.tsx
+++ b/web/components/config/edit-logo.tsx
@@ -58,6 +58,7 @@ export default function EditLogo() {
setSubmitStatus(createInputStatus(STATUS_ERROR, `There was an error: ${msg}`));
resetTimer = setTimeout(resetStates, RESET_TIMEOUT);
setLoading(false);
+ // eslint-disable-next-line no-promise-executor-return
return rej();
}
diff --git a/web/components/config/video-variants-table.tsx b/web/components/config/video-variants-table.tsx
index a438359593..478d6c7300 100644
--- a/web/components/config/video-variants-table.tsx
+++ b/web/components/config/video-variants-table.tsx
@@ -204,9 +204,7 @@ export default function CurrentVariantsTable() {
</Title>
{showSecondVariantRecommendation() && (
- <>
- <Alert message={ENCODER_RECOMMENDATION_THRESHOLD.HELP_TEXT} type="info" closable />
- </>
+ <Alert message={ENCODER_RECOMMENDATION_THRESHOLD.HELP_TEXT} type="info" closable />
)}
<FormStatusIndicator status={submitStatus} />
diff --git a/web/package-lock.json b/web/package-lock.json
index db26dadc61..55b1db6492 100644
--- a/web/package-lock.json
+++ b/web/package-lock.json
@@ -5,6 +5,7 @@
"requires": true,
"packages": {
"": {
+ "name": "owncast-admin",
"version": "0.1.0",
"dependencies": {
"@ant-design/icons": "^4.7.0",
diff --git a/web/pages/chat/users.tsx b/web/pages/chat/users.tsx
index 7e0569bd3a..9638c8405d 100644
--- a/web/pages/chat/users.tsx
+++ b/web/pages/chat/users.tsx
@@ -1,11 +1,10 @@
import React, { useState, useEffect, useContext } from 'react';
-import { Typography, Tabs } from 'antd';
+import { Tabs } from 'antd';
import { ServerStatusContext } from '../../utils/server-status-context';
import { CONNECTED_CLIENTS, fetchData, DISABLED_USERS, MODERATORS } from '../../utils/apis';
import UserTable from '../../components/user-table';
import ClientTable from '../../components/client-table';
-const { Title } = Typography;
const { TabPane } = Tabs;
export const FETCH_INTERVAL = 10 * 1000; // 10 sec