File tree Expand file tree Collapse file tree 4 files changed +205
-73
lines changed Expand file tree Collapse file tree 4 files changed +205
-73
lines changed Original file line number Diff line number Diff line change 16
16
"expo-document-picker" : " 13.0.1" ,
17
17
"expo-splash-screen" : " 0.29.18" ,
18
18
"lodash" : " 4.17.21" ,
19
- "react" : " 18.3.1 " ,
19
+ "react" : " 19.0.0 " ,
20
20
"react-native" : " 0.76.3" ,
21
21
"react-native-ble-plx" : " 3.2.1" ,
22
22
"react-native-toast-message" : " 2.2.1"
25
25
"@babel/core" : " 7.26.0" ,
26
26
"@babel/runtime" : " 7.26.0" ,
27
27
"@types/lodash" : " 4.17.13" ,
28
- "@types/react" : " 18.3.16 " ,
28
+ "@types/react" : " 19.0.1 " ,
29
29
"metro-react-native-babel-preset" : " 0.77.0" ,
30
30
"pod-install" : " 0.3.2" ,
31
31
"ts-node" : " ^10.9.2" ,
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ const useFirmwareUpdate = (
8
8
) => {
9
9
const [ progress , setProgress ] = useState ( 0 ) ;
10
10
const [ state , setState ] = useState ( '' ) ;
11
- const upgradeRef = useRef < Upgrade > ( ) ;
11
+ const upgradeRef = useRef < Upgrade > ( null ) ;
12
12
13
13
useEffect ( ( ) => {
14
14
if ( ! bleId || ! updateFileUri ) {
You can’t perform that action at this time.
0 commit comments