[Channels Bloc] Fix typo

Signed-off-by: Sahil Kumar <[email protected]>
This commit is contained in:
Sahil Kumar
2020-11-17 18:19:33 +05:30
parent 413dec0336
commit a8a5e5dfdf
+1 -1
View File
@@ -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;