summaryrefslogtreecommitdiff
path: root/opendc-web/opendc-web-ui/src/actions/modals/profile.js
diff options
context:
space:
mode:
Diffstat (limited to 'opendc-web/opendc-web-ui/src/actions/modals/profile.js')
-rw-r--r--opendc-web/opendc-web-ui/src/actions/modals/profile.js14
1 files changed, 14 insertions, 0 deletions
diff --git a/opendc-web/opendc-web-ui/src/actions/modals/profile.js b/opendc-web/opendc-web-ui/src/actions/modals/profile.js
new file mode 100644
index 00000000..39c72c03
--- /dev/null
+++ b/opendc-web/opendc-web-ui/src/actions/modals/profile.js
@@ -0,0 +1,14 @@
+export const OPEN_DELETE_PROFILE_MODAL = 'OPEN_DELETE_PROFILE_MODAL'
+export const CLOSE_DELETE_PROFILE_MODAL = 'CLOSE_DELETE_PROFILE_MODAL'
+
+export function openDeleteProfileModal() {
+ return {
+ type: OPEN_DELETE_PROFILE_MODAL,
+ }
+}
+
+export function closeDeleteProfileModal() {
+ return {
+ type: CLOSE_DELETE_PROFILE_MODAL,
+ }
+}