hunk.code_window: import { PropsWithChildren } from 'react';
   export function FormError({ children }: PropsWithChildren<unknown>) {
     return (
  
hunk.labels: keep add keep keep
hunk.after_edit: import { Icon } from '@@/Icon';
  
hunk.file_path: app/react/components/form-components/FormError.tsx
hunk.type: add
file: angular.module('portainer.docker').controller('BrowseVolumeController', BrowseVolumeController);
  
  /* @ngInject */
  function BrowseVolumeController($scope, $transition$, StateManager, endpoint) {
    function initView() {
      $scope.volumeId = $transition$.params().id;
      $scope.nodeName = $transition$.params().nodeName;
      $scope.agentApiVersion = StateManager.getAgentApiVersion();
      $scope.endpointId = endpoint.Id;
    }
  
    initView();
  }
  