diff --git a/src/views/states/list/StatesList.tsx b/src/views/states/list/StatesList.tsx
index a92e9288..277516fa 100644
--- a/src/views/states/list/StatesList.tsx
+++ b/src/views/states/list/StatesList.tsx
@@ -1,5 +1,5 @@
import React, { FC, useCallback, useState } from 'react';
-import { useNavigate } from 'react-router-dom-v5-compat';
+// import { useNavigate } from 'react-router-dom-v5-compat';
import { useNMStateTranslation } from 'src/utils/hooks/useNMStateTranslation';
import {
@@ -14,8 +14,8 @@ import {
useK8sWatchResource,
useListPageFilter,
} from '@openshift-console/dynamic-plugin-sdk';
-import { Button, Flex, Icon, Pagination } from '@patternfly/react-core';
-import { TopologyIcon } from '@patternfly/react-icons';
+import { Button, Flex, /*Icon*/ Pagination } from '@patternfly/react-core';
+// import { TopologyIcon } from '@patternfly/react-icons';
import { Table, TableGridBreakpoint, Th, Thead, Tr } from '@patternfly/react-table';
import { V1beta1NodeNetworkState } from '@types';
import usePagination from '@utils/hooks/usePagination/usePagination';
@@ -35,7 +35,7 @@ import './states-list.scss';
const StatesList: FC = () => {
const { t } = useNMStateTranslation();
- const navigate = useNavigate();
+ // const navigate = useNavigate();
const {
selectedInterfaceName,
selectedStateName,
@@ -77,11 +77,11 @@ const StatesList: FC = () => {
return (
<>
- */}
diff --git a/src/views/states/manifest.ts b/src/views/states/manifest.ts
index 3507c66e..43acadc6 100644
--- a/src/views/states/manifest.ts
+++ b/src/views/states/manifest.ts
@@ -2,14 +2,14 @@ import type { EncodedExtension } from '@openshift/dynamic-plugin-sdk';
import type {
ResourceClusterNavItem,
ResourceListPage,
- RoutePage,
+ // RoutePage,
} from '@openshift-console/dynamic-plugin-sdk';
import { NodeNetworkStateModelGroupVersionKind } from '../../console-models';
export const StateExposedModules = {
StatesList: './views/states/list/StatesList',
- Topology: './views/states/topology/Topology',
+ // Topology: './views/states/topology/Topology',
};
export const StateExtensions: EncodedExtension[] = [
@@ -35,13 +35,13 @@ export const StateExtensions: EncodedExtension[] = [
component: { $codeRef: 'StatesList' },
},
} as EncodedExtension,
- {
- type: 'console.page/route',
- properties: {
- path: ['nmstate-topology'],
- component: {
- $codeRef: 'Topology',
- },
- },
- } as EncodedExtension,
+ // {
+ // type: 'console.page/route',
+ // properties: {
+ // path: ['nmstate-topology'],
+ // component: {
+ // $codeRef: 'Topology',
+ // },
+ // },
+ // } as EncodedExtension,
];