summaryrefslogtreecommitdiff
path: root/src/actions/profile.js
diff options
context:
space:
mode:
authorGeorgios Andreadis <g.andreadis@student.tudelft.nl>2017-08-19 15:39:58 +0200
committerGeorgios Andreadis <g.andreadis@student.tudelft.nl>2017-09-23 10:05:43 +0200
commit19033b8460cb43dc2fa34a2cffa932b5efe111ca (patch)
tree79bde2093acce8d8192d27e288d61bc53cf99e07 /src/actions/profile.js
parent434be6d21ad665cb6abdf5138d0c563efbfe00b4 (diff)
Add profile page
Diffstat (limited to 'src/actions/profile.js')
-rw-r--r--src/actions/profile.js14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/actions/profile.js b/src/actions/profile.js
new file mode 100644
index 00000000..421e7602
--- /dev/null
+++ b/src/actions/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
+ };
+}