File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed
Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -165,8 +165,8 @@ function createReduxEnhancer(enhancerOptions?: Partial<SentryEnhancerOptions>):
165165 store . replaceReducer = new Proxy ( store . replaceReducer , {
166166 apply : function ( target , thisArg , args ) {
167167 target . apply ( thisArg , [ sentryWrapReducer ( args [ 0 ] ) ] ) ;
168- }
169- } )
168+ } ,
169+ } ) ;
170170
171171 return store ;
172172 } ;
Original file line number Diff line number Diff line change @@ -433,14 +433,14 @@ describe('createReduxEnhancer', () => {
433433
434434 const ACTION_TYPE = 'UPDATE_VALUE' ;
435435 const reducer = ( state : Record < string , unknown > = initialState , action : { type : string ; newValue : any } ) => {
436- if ( action . type === ACTION_TYPE ) {
437- return {
438- ...state ,
439- value : action . newValue ,
440- } ;
441- }
442- return state ;
443- } ;
436+ if ( action . type === ACTION_TYPE ) {
437+ return {
438+ ...state ,
439+ value : action . newValue ,
440+ } ;
441+ }
442+ return state ;
443+ } ;
444444
445445 const store = Redux . createStore ( reducer , enhancer ) ;
446446
You can’t perform that action at this time.
0 commit comments