@@ -5,7 +5,6 @@ import * as Constants from '../../constants/chat2'
55import * as Container from '../../util/container'
66import * as DeeplinksGen from '../deeplinks-gen'
77import * as EngineGen from '../engine-gen-gen'
8- import * as Flow from '../../util/flow'
98import * as FsConstants from '../../constants/fs'
109import * as FsTypes from '../../constants/types/fs'
1110import * as GregorConstants from '../../constants/gregor'
@@ -86,7 +85,6 @@ const inboxRefresh = (
8685 reason = 'inboxStale'
8786 break
8887 default :
89- Flow . ifFlowComplainsAboutThisFunctionYouHaventHandledAllCasesInASwitch ( action )
9088 }
9189
9290 logger . info ( `Inbox refresh due to ${ reason ?? '???' } ` )
@@ -172,7 +170,6 @@ const rpcMetaRequestConversationIDKeys = (
172170 keys = [ action . payload . conversationIDKey ] . filter ( Constants . isValidConversationIDKey )
173171 break
174172 default :
175- Flow . ifFlowComplainsAboutThisFunctionYouHaventHandledAllCasesInASwitch ( action )
176173 throw new Error ( 'Invalid action passed to unboxRows' )
177174 }
178175 return Constants . getConversationIDKeyMetasToLoad ( keys , state . chat2 . metaMap )
@@ -1125,7 +1122,6 @@ function* loadMoreMessages(
11251122 forceClear = true
11261123 break
11271124 default :
1128- Flow . ifFlowComplainsAboutThisFunctionYouHaventHandledAllCasesInASwitch ( action )
11291125 }
11301126
11311127 if ( ! key || ! Constants . isValidConversationIDKey ( key ) ) {
@@ -1270,7 +1266,6 @@ function* getUnreadline(
12701266 key = action . payload . conversationIDKey
12711267 break
12721268 default :
1273- Flow . ifFlowComplainsAboutThisFunctionYouHaventHandledAllCasesInASwitch ( action . type )
12741269 key = action . payload . conversationIDKey
12751270 }
12761271
0 commit comments