zeroed-some/bashamole / cfbe36b

Browse files

resolve build error

Authored by mfwolffe <wolffemf@dukes.jmu.edu>
SHA
cfbe36bb3d66d8026f1fc419044a0f2a7362825b
Parents
ef84734
Tree
866d28d

1 changed file

StatusFile+-
M frontend/src/hooks/useCommandExecution.ts 1 1
frontend/src/hooks/useCommandExecution.tsmodified
@@ -72,7 +72,7 @@ export const useCommandExecution = (
72
               children: node.children.map(child => updateMoleInTree(child, molePath))
72
               children: node.children.map(child => updateMoleInTree(child, molePath))
73
             };
73
             };
74
           };
74
           };
75
-          return updateMoleInTree(tree, response.new_mole_location);
75
+          return updateMoleInTree(tree, response.new_mole_location!);
76
         });
76
         });
77
       }
77
       }
78
     } catch (error) {
78
     } catch (error) {