stream-chat-react-native-core 5.0.0-beta.1 → 5.0.0-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -553,7 +553,7 @@ var ChannelWithContext = function ChannelWithContext(props) {
553
553
  var channelId = (channel == null ? void 0 : channel.id) || '';
554
554
  (0, _react.useEffect)(function () {
555
555
  var initChannel = function initChannel() {
556
- if (!channel || !shouldSyncChannel || channel.staticState) return;
556
+ if (!channel || !shouldSyncChannel || channel.offlineMode) return;
557
557
 
558
558
  if (!channel.initialized) {
559
559
  loadChannel();