diff --git a/web/components/config/edit-logo.tsx b/web/components/config/edit-logo.tsx index c92189e3d..b3e9c057f 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 a43835959..478d6c730 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() { {showSecondVariantRecommendation() && ( - <> - - + )} diff --git a/web/package-lock.json b/web/package-lock.json index db26dadc6..55b1db649 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 7e0569bd3..9638c8405 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