Explorar el Código

Update dashboard/src/components/ExpandableResource.tsx

Co-authored-by: Nicolas Frati <nicofrati@gmail.com>
abelanger5 hace 4 años
padre
commit
c5f1fed82f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      dashboard/src/components/ExpandableResource.tsx

+ 1 - 1
dashboard/src/components/ExpandableResource.tsx

@@ -19,7 +19,7 @@ const ExpandableResource: React.FC<Props> = (props) => {
   const { resource, button } = props;
   const { currentCluster, currentProject } = useContext(Context);
 
-  let onSave = () => {
+  const onSave = () => {
     let projID = currentProject.id;
     let clusterID = currentCluster.id;
     let config = button.actions[0].delete.context.config;