diff --git a/dev-client/package-lock.json b/dev-client/package-lock.json index 8f4f831e6..18b3b5f5e 100644 --- a/dev-client/package-lock.json +++ b/dev-client/package-lock.json @@ -87,7 +87,7 @@ "eslint-plugin-prettier": "^5.1.3", "jest": "^29.7.0", "jest-expo": "~51.0.3", - "prettier": "^3.3.2", + "prettier": "^3.3.3", "react-devtools": "^5.3.1", "react-native-svg-transformer": "^1.5.0", "react-test-renderer": "18.2.0", @@ -22230,11 +22230,10 @@ } }, "node_modules/prettier": { - "version": "3.3.2", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.3.2.tgz", - "integrity": "sha512-rAVeHYMcv8ATV5d508CFdn+8/pHPpXeIid1DdrPwXnaAdH7cqjVbpJaT5eq4yRAFU/lsbwYwSF/n5iNrdJHPQA==", + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.3.3.tgz", + "integrity": "sha512-i2tDNA0O5IrMO757lfrdQZCc2jPNDVntV0m/+4whiDfWaTKfMNgR7Qz0NAeGz/nRqF4m5/6CLzbP4/liHt12Ew==", "dev": true, - "license": "MIT", "bin": { "prettier": "bin/prettier.cjs" }, diff --git a/dev-client/package.json b/dev-client/package.json index 0a2f122c5..a7e2ec37b 100644 --- a/dev-client/package.json +++ b/dev-client/package.json @@ -96,7 +96,7 @@ "eslint-plugin-prettier": "^5.1.3", "jest": "^29.7.0", "jest-expo": "~51.0.3", - "prettier": "^3.3.2", + "prettier": "^3.3.3", "react-devtools": "^5.3.1", "react-native-svg-transformer": "^1.5.0", "react-test-renderer": "18.2.0", diff --git a/dev-client/src/components/util/nativeBaseAdapters.ts b/dev-client/src/components/util/nativeBaseAdapters.ts index 73b0d0990..555251961 100644 --- a/dev-client/src/components/util/nativeBaseAdapters.ts +++ b/dev-client/src/components/util/nativeBaseAdapters.ts @@ -215,7 +215,7 @@ export const convertDimensionProp = ( }; export const convertColorProp = (color: ColorValue | ThemeColor | undefined) => - typeof color === 'string' ? getByKey(theme.colors, color) ?? color : color; + typeof color === 'string' ? (getByKey(theme.colors, color) ?? color) : color; const keys = (obj: O) => Object.keys(obj) as (keyof O)[];