From 5156c8d83684869f225e74043601b081a742496c Mon Sep 17 00:00:00 2001 From: Devin Binnie <52460000+devinbinnie@users.noreply.github.com> Date: Thu, 3 Apr 2025 21:26:28 +0300 Subject: [PATCH] [MM-63280] Forward ref properly through SwitchChannelSuggestion (#30580) --- .../src/components/suggestion/switch_channel_provider.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/channels/src/components/suggestion/switch_channel_provider.tsx b/webapp/channels/src/components/suggestion/switch_channel_provider.tsx index e5d8ee1711..2504b65238 100644 --- a/webapp/channels/src/components/suggestion/switch_channel_provider.tsx +++ b/webapp/channels/src/components/suggestion/switch_channel_provider.tsx @@ -333,7 +333,7 @@ function mapStateToPropsForSwitchChannelSuggestion(state: GlobalState, ownProps: }; } -const ConnectedSwitchChannelSuggestion = connect(mapStateToPropsForSwitchChannelSuggestion, null, null, {forwardRef: true})(injectIntl(SwitchChannelSuggestion)); +const ConnectedSwitchChannelSuggestion = connect(mapStateToPropsForSwitchChannelSuggestion, null, null, {forwardRef: true})(injectIntl(SwitchChannelSuggestion, {forwardRef: true})); let prefix = '';