import React, { ReactElement, useContext } from 'react'; import { Tabs } from 'antd'; import StreamKeys from '../../../../components/admin/config/server/StreamKeys'; import ServerConfig from '../../../../components/admin/config/server/ServerConfig'; import StorageConfig from '../../../../components/admin/config/server/StorageConfig'; import { ServerStatusContext } from '../../../../utils/server-status-context'; import { AdminLayout } from '../../../../components/layouts/AdminLayout'; export default function PublicFacingDetails() { const serverStatusData = useContext(ServerStatusContext); const { serverConfig } = serverStatusData || {}; const { streamKeyOverridden } = serverConfig; return (