Skip to content

Commit 16b51f4

Browse files
Run fix:prettier
1 parent 631f71e commit 16b51f4

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

packages/react/src/redux.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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
};

packages/react/test/redux.test.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)