diff options
author | Ashm Walia <ashmwalia@outlook.com> | 2021-01-31 02:35:25 -0800 |
---|---|---|
committer | Ashm Walia <ashmwalia@outlook.com> | 2021-01-31 02:35:25 -0800 |
commit | 69b337ed7c3844cf04a6bd1c0557ba598735f34e (patch) | |
tree | 46a880f8acff035041fb107b95f3526c63cab1ff /src | |
parent | a3000926cb26d9ca2afba116d875653783fb622b (diff) |
Fixed comments
Diffstat (limited to 'src')
-rw-r--r-- | src/components/notifications/Notification.tsx | 4 | ||||
-rw-r--r-- | src/store/actions/user.ts | 1 | ||||
-rw-r--r-- | src/store/reducers/userReducer.ts | 1 |
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; }, }, |