hunk.code_window:                 noValidate
                 >
                   <FormControl
                     inputId="edge_enable"
                     label="Enable Edge Compute features"
                     size="medium"
                     errors={errors.EnableEdgeComputeFeatures}
                   >
                     <Switch
  
hunk.labels: keep keep keep keep keep replace keep keep keep
hunk.after_edit:                   size="small"
  
hunk.file_path: app/portainer/settings/edge-compute/EdgeComputeSettings/EdgeComputeSettings.tsx
hunk.type: replace
file: angular.module('portainer.oauth').factory('OAuth', [
    '$resource',
    'API_ENDPOINT_OAUTH',
    function OAuthFactory($resource, API_ENDPOINT_OAUTH) {
      'use strict';
      return $resource(
        API_ENDPOINT_OAUTH + '/:action',
        {},
        {
          validate: {
            method: 'POST',
            ignoreLoadingBar: true,
            params: {
              action: 'validate',
            },
          },
        }
      );
    },
  ]);
  