Cleanup to support next update

This commit is contained in:
Gabe Kangas
2021-12-06 18:01:30 -08:00
parent 79d6163490
commit 62daceaa9b
4 changed files with 4 additions and 5 deletions

View File

@@ -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();
}

View File

@@ -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} />

1
web/package-lock.json generated
View File

@@ -5,6 +5,7 @@
"requires": true,
"packages": {
"": {
"name": "owncast-admin",
"version": "0.1.0",
"dependencies": {
"@ant-design/icons": "^4.7.0",

View File

@@ -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