mirror of
https://github.com/owncast/owncast.git
synced 2025-11-01 10:55:57 +08:00
start organizing nav; start on Tags editing
This commit is contained in:
@ -1,12 +1,14 @@
|
||||
import React, { useState, useEffect } from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import PropTypes, { any } from 'prop-types';
|
||||
|
||||
import { STATUS, fetchData, FETCH_INTERVAL, SERVER_CONFIG } from './apis';
|
||||
import { UpdateArgs } from '../types/config-section';
|
||||
|
||||
export const initialServerConfigState = {
|
||||
streamKey: '',
|
||||
instanceDetails: {},
|
||||
instanceDetails: {
|
||||
tags: [],
|
||||
},
|
||||
yp: {
|
||||
enabled: false,
|
||||
},
|
||||
@ -39,7 +41,7 @@ export const ServerStatusContext = React.createContext({
|
||||
...initialServerStatusState,
|
||||
serverConfig: initialServerConfigState,
|
||||
|
||||
setConfigField: () => {},
|
||||
setConfigField: any,
|
||||
});
|
||||
|
||||
const ServerStatusProvider = ({ children }) => {
|
||||
|
||||
Reference in New Issue
Block a user