message: Corrected topology sidebar update issue for edit
diff: import * as React from 'react';
  import { GraphElement } from '@patternfly/react-topology';
  import { referenceFor } from '@console/internal/module/k8s';
  -import { ActionMenu, ActionMenuVariant, ActionServiceProvider } from '@console/shared';
  +import {
  + ActionMenu,
  + ActionMenuVariant,
  + ActionServiceProvider,
  + useDeepCompareMemoize,
  +} from '@console/shared';
  import { getResource } from '../utils';
  type TopologyActionsProps = {
  @@ -9,16 +14,17 @@ type TopologyActionsProps = {
  };
  const TopologyActions: React.FC<TopologyActionsProps> = ({ element }) => {
  - const context = React.useMemo(() => {
  const resource = getResource(element);
  + const memoizedRes = useDeepCompareMemoize(resource);
  + const context = React.useMemo(() => {
  const { csvName } = element.getData()?.data ?? {};
  return {
  'topology-actions': element,
  'topology-context-actions': { element },
  - ...(resource ? { [referenceFor(resource)]: resource } : {}),
  - ...(csvName ? { 'csv-actions': { csvName, resource } } : {}),
  + ...(memoizedRes ? { [referenceFor(memoizedRes)]: memoizedRes } : {}),
  + ...(csvName ? { 'csv-actions': { csvName, memoizedRes } } : {}),
  };
  - }, [element]);
  + }, [element, memoizedRes]);
  return (
  <ActionServiceProvider key={element.getId()} context={context}>
  {({ actions, options, loaded }) => {
  