start organizing nav; start on Tags editing

This commit is contained in:
gingervitis
2020-12-30 18:07:15 -08:00
committed by Gabe Kangas
parent f9b7a0d8e0
commit 624ab72eb3
11 changed files with 177 additions and 177 deletions

View File

@ -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 }) => {