Skip to content

Commit f9cc8fe

Browse files
renovate-botKoalk
authored andcommitted
chore(deps): update react monorepo to v19
1 parent d884123 commit f9cc8fe

File tree

4 files changed

+205
-73
lines changed

4 files changed

+205
-73
lines changed

example/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"expo-document-picker": "13.0.1",
1717
"expo-splash-screen": "0.29.18",
1818
"lodash": "4.17.21",
19-
"react": "18.3.1",
19+
"react": "19.0.0",
2020
"react-native": "0.76.3",
2121
"react-native-ble-plx": "3.2.1",
2222
"react-native-toast-message": "2.2.1"
@@ -25,7 +25,7 @@
2525
"@babel/core": "7.26.0",
2626
"@babel/runtime": "7.26.0",
2727
"@types/lodash": "4.17.13",
28-
"@types/react": "18.3.16",
28+
"@types/react": "19.0.1",
2929
"metro-react-native-babel-preset": "0.77.0",
3030
"pod-install": "0.3.2",
3131
"ts-node": "^10.9.2",

example/src/useFirmwareUpdate.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const useFirmwareUpdate = (
88
) => {
99
const [progress, setProgress] = useState(0);
1010
const [state, setState] = useState('');
11-
const upgradeRef = useRef<Upgrade>();
11+
const upgradeRef = useRef<Upgrade>(null);
1212

1313
useEffect(() => {
1414
if (!bleId || !updateFileUri) {

0 commit comments

Comments
 (0)