diff options
| author | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2021-07-07 20:13:30 +0200 |
|---|---|---|
| committer | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2021-07-08 10:53:23 +0200 |
| commit | 02a2f0f89cb1f39a5f8856bca1971a4e1b12374f (patch) | |
| tree | dcea2fb2f46f47b0f5a961a52023510d227b5936 /opendc-web/opendc-web-ui/src/redux/actions/topologies.js | |
| parent | 9c8a987556d0fb0cdf0eb67e0c191a8dcc5593b9 (diff) | |
ui: Use React Query defaults to reduce duplication
Diffstat (limited to 'opendc-web/opendc-web-ui/src/redux/actions/topologies.js')
| -rw-r--r-- | opendc-web/opendc-web-ui/src/redux/actions/topologies.js | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/opendc-web/opendc-web-ui/src/redux/actions/topologies.js b/opendc-web/opendc-web-ui/src/redux/actions/topologies.js index abfded7e..e19a7f21 100644 --- a/opendc-web/opendc-web-ui/src/redux/actions/topologies.js +++ b/opendc-web/opendc-web-ui/src/redux/actions/topologies.js @@ -1,5 +1,4 @@ export const ADD_TOPOLOGY = 'ADD_TOPOLOGY' -export const DELETE_TOPOLOGY = 'DELETE_TOPOLOGY' export function addTopology(projectId, name, duplicateId) { return { @@ -9,10 +8,3 @@ export function addTopology(projectId, name, duplicateId) { duplicateId, } } - -export function deleteTopology(id) { - return { - type: DELETE_TOPOLOGY, - id, - } -} |
