resolve build error
Authored by
mfwolffe <wolffemf@dukes.jmu.edu>
- SHA
cfbe36bb3d66d8026f1fc419044a0f2a7362825b- Parents
-
ef84734 - Tree
866d28d
cfbe36b
cfbe36bb3d66d8026f1fc419044a0f2a7362825bef84734
866d28d| Status | File | + | - |
|---|---|---|---|
| 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) { |