diff --git a/package-lock.json b/package-lock.json index 1a0e50bb9..b472d7d67 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "@coralproject/talk", - "version": "5.0.0-beta.8", + "version": "5.0.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/src/core/client/stream/tabs/Profile/Settings/NotificationSettingsContainer.tsx b/src/core/client/stream/tabs/Profile/Settings/NotificationSettingsContainer.tsx index b88bdd090..9ad8da186 100644 --- a/src/core/client/stream/tabs/Profile/Settings/NotificationSettingsContainer.tsx +++ b/src/core/client/stream/tabs/Profile/Settings/NotificationSettingsContainer.tsx @@ -68,18 +68,121 @@ const NotificationSettingsContainer: FunctionComponent = ({ }) => (
+ + + + Email Notifications + + + - - - Email Notifications - - Receive notifications when: +
+ + + {({ input }) => ( + + + My comment receives a reply + + + )} + + + + + {({ input }) => ( + + + My comment is featured + + + )} + + + + + {({ input }) => ( + + + A staff member replies to my comment + + + )} + + + + + {({ input }) => ( + + + My pending comment has been reviewed + + + )} + + + + + + + Send Notifications: + + + + {({ values }) => ( + + {({ input }) => ( + + + + + + + + + + + + )} + + )} + + + +
+ {submitError && ( + + {submitError} + + )} + {submitSucceeded && ( + + + Your notification settings have been updated + + + )}
-
- - - {({ input }) => ( - - - My comment receives a reply - - - )} - - - - - {({ input }) => ( - - - My comment is featured - - - )} - - - - - {({ input }) => ( - - - A staff member replies to my comment - - - )} - - - - - {({ input }) => ( - - - My pending comment has been reviewed - - - )} - - - - - - - Send Notifications: - - - - {({ values }) => ( - - {({ input }) => ( - - - - - - - - - - - - )} - - )} - - - -
- {submitError && ( - - {submitError} - - )} - {submitSucceeded && ( - - - Your notification settings have been updated - - - )}
)}