summaryrefslogtreecommitdiff
path: root/opendc-web/opendc-web-ui/src/data/topology.js
diff options
context:
space:
mode:
Diffstat (limited to 'opendc-web/opendc-web-ui/src/data/topology.js')
-rw-r--r--opendc-web/opendc-web-ui/src/data/topology.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/opendc-web/opendc-web-ui/src/data/topology.js b/opendc-web/opendc-web-ui/src/data/topology.js
index ac6cabe5..d5e624d5 100644
--- a/opendc-web/opendc-web-ui/src/data/topology.js
+++ b/opendc-web/opendc-web-ui/src/data/topology.js
@@ -83,6 +83,6 @@ export function useNewTopology() {
/**
* Create a mutation for deleting a topology.
*/
-export function useDeleteTopology() {
- return useMutation('deleteTopology')
+export function useDeleteTopology(options = {}) {
+ return useMutation('deleteTopology', options)
}