File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ export function* routerNavigate(path: string) {
121
121
const newBackendSagaOne = combineSagaHandlers ( {
122
122
[ SessionActions . fetchAuth . type ] : function * ( action ) : any {
123
123
const { code, providerId : payloadProviderId } = action . payload ;
124
- const isVscode = yield select ( state => state . vscode . isVscode ) ;
124
+ const isVscode : boolean = yield select ( ( state : OverallState ) => state . vscode . isVscode ) ;
125
125
126
126
const providerId = payloadProviderId || ( getDefaultProvider ( ) || [ null ] ) [ 0 ] ;
127
127
if ( ! providerId ) {
Original file line number Diff line number Diff line change @@ -255,6 +255,9 @@ const mockStates = {
255
255
} ,
256
256
workspaces : {
257
257
assessment : { currentAssessment : mockAssessment . id }
258
+ } ,
259
+ vscode : {
260
+ isVscode : false
258
261
}
259
262
} ;
260
263
You can’t perform that action at this time.
0 commit comments