From b33622e32cd15dc7b1a59b12e09cc0ab9c24f8d1 Mon Sep 17 00:00:00 2001 From: Devin Binnie <52460000+devinbinnie@users.noreply.github.com> Date: Thu, 28 Nov 2024 16:28:16 -0500 Subject: [PATCH] Remove unnecessary `dispatch` call (#29421) --- webapp/channels/src/actions/websocket_actions.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/channels/src/actions/websocket_actions.jsx b/webapp/channels/src/actions/websocket_actions.jsx index 85d0f921bc..7dfb6306ed 100644 --- a/webapp/channels/src/actions/websocket_actions.jsx +++ b/webapp/channels/src/actions/websocket_actions.jsx @@ -241,7 +241,7 @@ export function reconnect() { dispatch(fetchAllMyTeamsChannels()); dispatch(fetchAllMyChannelMembers()); dispatch(fetchMyCategories(currentTeamId)); - dispatch(loadProfilesForSidebar()); + loadProfilesForSidebar(); if (mostRecentPost) { dispatch(syncPostsInChannel(currentChannelId, mostRecentPost.create_at));