aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/components/notifications/Notification.tsx4
-rw-r--r--src/store/actions/user.ts1
-rw-r--r--src/store/reducers/userReducer.ts1
3 files changed, 0 insertions, 6 deletions
diff --git a/src/components/notifications/Notification.tsx b/src/components/notifications/Notification.tsx
index e40153ea..d40c65ed 100644
--- a/src/components/notifications/Notification.tsx
+++ b/src/components/notifications/Notification.tsx
@@ -113,8 +113,6 @@ const Notification: React.FC<NotificationProps> = (props) => {
comment_id = notification_object?.parent_comment?.comment_id;
}
- console.log('Problem');
-
// Now find the moment we need to display
let moment: MomentType | undefined = loggedInUserMoments?.find(
(m) => m.moment_id === moment_id,
@@ -128,7 +126,6 @@ const Notification: React.FC<NotificationProps> = (props) => {
let moments: MomentType[] = [];
try {
if (!userXInStore(state, screenType, id)) {
- console.log('Problem');
const token = await getTokenOrLogout(dispatch);
moments = await loadMoments(id, token);
} else {
@@ -143,7 +140,6 @@ const Notification: React.FC<NotificationProps> = (props) => {
userXId = id;
}
- console.log(moment);
//Now if moment was found, navigate to the respective moment
if (moment) {
if (notification_object?.parent_comment) {
diff --git a/src/store/actions/user.ts b/src/store/actions/user.ts
index af942592..5f49a103 100644
--- a/src/store/actions/user.ts
+++ b/src/store/actions/user.ts
@@ -118,7 +118,6 @@ export const updateReplyPosted = (
): ThunkAction<Promise<void>, RootState, unknown, Action<string>> => async (
dispatch,
) => {
- console.log(replyPosted);
try {
dispatch({
type: setReplyPosted.type,
diff --git a/src/store/reducers/userReducer.ts b/src/store/reducers/userReducer.ts
index 0ef739ac..1e575339 100644
--- a/src/store/reducers/userReducer.ts
+++ b/src/store/reducers/userReducer.ts
@@ -55,7 +55,6 @@ const userDataSlice = createSlice({
},
setReplyPosted: (state, action) => {
- console.log(action.payload.replyPosted);
state.replyPosted = action.payload.replyPosted;
},
},