File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -386,7 +386,10 @@ export function createSelectorCreator<
386
386
arguments
387
387
)
388
388
389
- if ( shouldRunInputStabilityCheck ( inputStabilityCheck , firstRun ) ) {
389
+ if (
390
+ process . env . NODE_ENV !== 'production' &&
391
+ shouldRunInputStabilityCheck ( inputStabilityCheck , firstRun )
392
+ ) {
390
393
// make a second copy of the params, to check if we got the same results
391
394
const inputSelectorResultsCopy = collectInputSelectorResults (
392
395
dependencies ,
Original file line number Diff line number Diff line change @@ -144,9 +144,7 @@ export const shouldRunInputStabilityCheck = (
144
144
firstRun : boolean
145
145
) => {
146
146
return (
147
- process . env . NODE_ENV !== 'production' &&
148
- ( inputStabilityCheck === 'always' ||
149
- ( inputStabilityCheck === 'once' && firstRun ) )
147
+ inputStabilityCheck === 'always' ||
148
+ ( inputStabilityCheck === 'once' && firstRun )
150
149
)
151
150
}
152
-
You can’t perform that action at this time.
0 commit comments