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) {
121121const newBackendSagaOne = combineSagaHandlers ( {
122122 [ SessionActions . fetchAuth . type ] : function * ( action ) : any {
123123 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 ) ;
125125
126126 const providerId = payloadProviderId || ( getDefaultProvider ( ) || [ null ] ) [ 0 ] ;
127127 if ( ! providerId ) {
Original file line number Diff line number Diff line change @@ -255,6 +255,9 @@ const mockStates = {
255255 } ,
256256 workspaces : {
257257 assessment : { currentAssessment : mockAssessment . id }
258+ } ,
259+ vscode : {
260+ isVscode : false
258261 }
259262} ;
260263
You can’t perform that action at this time.
0 commit comments