[Channels Bloc] Fix typo
Signed-off-by: Sahil Kumar <[email protected]>
This commit is contained in:
@@ -31,7 +31,7 @@ class ChannelsBloc extends StatefulWidget {
|
|||||||
streamChatState = context.findAncestorStateOfType<ChannelsBlocState>();
|
streamChatState = context.findAncestorStateOfType<ChannelsBlocState>();
|
||||||
|
|
||||||
if (streamChatState == null) {
|
if (streamChatState == null) {
|
||||||
throw Exception('You must have a ChannelsBloc widget as anchestor');
|
throw Exception('You must have a ChannelsBloc widget as ancestor');
|
||||||
}
|
}
|
||||||
|
|
||||||
return streamChatState;
|
return streamChatState;
|
||||||
|
|||||||
Reference in New Issue
Block a user