diff --git a/src/fireedge/src/client/containers/Clusters/Detail.js b/src/fireedge/src/client/containers/Clusters/Detail.js index 0af504b80f..8de0f385ed 100644 --- a/src/fireedge/src/client/containers/Clusters/Detail.js +++ b/src/fireedge/src/client/containers/Clusters/Detail.js @@ -13,11 +13,16 @@ * See the License for the specific language governing permissions and * * limitations under the License. * * ------------------------------------------------------------------------- */ -/* eslint-disable jsdoc/require-jsdoc */ +import { ReactElement } from 'react' import { useParams, Redirect } from 'react-router-dom' import ClusterTabs from 'client/components/Tabs/Cluster' +/** + * Displays the detail information about a Cluster. + * + * @returns {ReactElement} Cluster detail component. + */ function ClusterDetail() { const { id } = useParams() diff --git a/src/fireedge/src/client/containers/Groups/Detail.js b/src/fireedge/src/client/containers/Groups/Detail.js index 72ac87f054..6644cae5ba 100644 --- a/src/fireedge/src/client/containers/Groups/Detail.js +++ b/src/fireedge/src/client/containers/Groups/Detail.js @@ -13,11 +13,16 @@ * See the License for the specific language governing permissions and * * limitations under the License. * * ------------------------------------------------------------------------- */ -/* eslint-disable jsdoc/require-jsdoc */ +import { ReactElement } from 'react' import { useParams, Redirect } from 'react-router-dom' -// import GroupTabs from 'client/components/Tabs/Group' +import GroupTabs from 'client/components/Tabs/Group' +/** + * Displays the detail information about a Group. + * + * @returns {ReactElement} Group detail component. + */ function GroupDetail() { const { id } = useParams() @@ -25,12 +30,7 @@ function GroupDetail() { return } - return ( - <> - {/* */} - {id} - - ) + return } export default GroupDetail diff --git a/src/fireedge/src/client/containers/Hosts/Detail.js b/src/fireedge/src/client/containers/Hosts/Detail.js index 8854004dd1..7a61e07e5d 100644 --- a/src/fireedge/src/client/containers/Hosts/Detail.js +++ b/src/fireedge/src/client/containers/Hosts/Detail.js @@ -13,11 +13,16 @@ * See the License for the specific language governing permissions and * * limitations under the License. * * ------------------------------------------------------------------------- */ -/* eslint-disable jsdoc/require-jsdoc */ +import { ReactElement } from 'react' import { useParams, Redirect } from 'react-router-dom' import HostTabs from 'client/components/Tabs/Host' +/** + * Displays the detail information about a Host. + * + * @returns {ReactElement} Host detail component. + */ function HostDetail() { const { id } = useParams() diff --git a/src/fireedge/src/client/containers/Users/Detail.js b/src/fireedge/src/client/containers/Users/Detail.js index ed8ca3333b..234dfde9ba 100644 --- a/src/fireedge/src/client/containers/Users/Detail.js +++ b/src/fireedge/src/client/containers/Users/Detail.js @@ -13,11 +13,16 @@ * See the License for the specific language governing permissions and * * limitations under the License. * * ------------------------------------------------------------------------- */ -/* eslint-disable jsdoc/require-jsdoc */ +import { ReactElement } from 'react' import { useParams, Redirect } from 'react-router-dom' import UserTabs from 'client/components/Tabs/User' +/** + * Displays the detail information about a User. + * + * @returns {ReactElement} User detail component. + */ function UserDetail() { const { id } = useParams() diff --git a/src/fireedge/src/client/containers/VirtualMachines/Detail.js b/src/fireedge/src/client/containers/VirtualMachines/Detail.js index 647a6661be..fc68737199 100644 --- a/src/fireedge/src/client/containers/VirtualMachines/Detail.js +++ b/src/fireedge/src/client/containers/VirtualMachines/Detail.js @@ -13,11 +13,16 @@ * See the License for the specific language governing permissions and * * limitations under the License. * * ------------------------------------------------------------------------- */ -/* eslint-disable jsdoc/require-jsdoc */ +import { ReactElement } from 'react' import { useParams, Redirect } from 'react-router-dom' import VmTabs from 'client/components/Tabs/Vm' +/** + * Displays the detail information about a Virtual Machine. + * + * @returns {ReactElement} Virtual Machine detail component. + */ function VirtualMachineDetail() { const { id } = useParams() diff --git a/src/fireedge/src/client/containers/VmTemplates/Detail.js b/src/fireedge/src/client/containers/VmTemplates/Detail.js index 4510ab831c..1e155f16cb 100644 --- a/src/fireedge/src/client/containers/VmTemplates/Detail.js +++ b/src/fireedge/src/client/containers/VmTemplates/Detail.js @@ -14,7 +14,6 @@ * limitations under the License. * * ------------------------------------------------------------------------- */ import { ReactElement } from 'react' -import { Stack } from '@mui/material' import { useParams, Redirect } from 'react-router-dom' import VmTemplateTabs from 'client/components/Tabs/VmTemplate' @@ -31,11 +30,7 @@ function VMTemplateDetail() { return } - return ( - - - - ) + return } export default VMTemplateDetail