File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 11import * as React from 'react'
2- import { version as reactVersion } from 'react/package.json'
32import { useContext , useRef , useMemo } from 'react'
43import { Lookup , OneOrMore , UnknownProps } from '@react-spring/types'
54import {
@@ -437,7 +436,7 @@ export function useTransition(
437436 < elem . type
438437 { ...elem . props }
439438 key = { is . str ( t . key ) || is . num ( t . key ) ? t . key : t . ctrl . id }
440- ref = { reactVersion < '19.0.0' ? elem . ref : elem . props . ref }
439+ ref = { React . version < '19.0.0' ? elem . ref : elem . props . ref }
441440 />
442441 ) : (
443442 elem
Original file line number Diff line number Diff line change 2626 "allowSyntheticDefaultImports" : true ,
2727 "esModuleInterop" : true ,
2828 "skipLibCheck" : true ,
29- "strictNullChecks" : true ,
30- "resolveJsonModule" : true
29+ "strictNullChecks" : true
3130 }
3231}
You can’t perform that action at this time.
0 commit comments