Skip to content

Commit 6b765b1

Browse files
yjoseasdolo
authored andcommitted
fix: fix doctor issues
1 parent 4c9ce54 commit 6b765b1

File tree

4 files changed

+28
-65
lines changed

4 files changed

+28
-65
lines changed

package.json

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
"@shopify/flash-list": "1.7.1",
6969
"@tanstack/react-query": "^5.52.1",
7070
"@testing-library/react-hooks": "^8.0.1",
71-
"app-icon-badge": "^0.1.1",
71+
"app-icon-badge": "^0.1.2",
7272
"axios": "^1.7.5",
7373
"dayjs": "^1.11.13",
7474
"expo": "~52.0.4",
@@ -79,7 +79,7 @@
7979
"expo-linking": "~7.0.2",
8080
"expo-localization": "~16.0.0",
8181
"expo-router": "~4.0.3",
82-
"expo-splash-screen": "0.29.7",
82+
"expo-splash-screen": "~0.29.7",
8383
"expo-status-bar": "~2.0.0",
8484
"expo-system-ui": "~4.0.2",
8585
"i18next": "^23.14.0",
@@ -99,7 +99,7 @@
9999
"react-native-reanimated": "~3.16.1",
100100
"react-native-restart": "0.0.27",
101101
"react-native-safe-area-context": "4.12.0",
102-
"react-native-screens": "~4.0.0",
102+
"react-native-screens": "^4.0.0",
103103
"react-native-svg": "~15.8.0",
104104
"react-native-web": "~0.19.13",
105105
"react-native-webview": "13.8.6",
@@ -156,5 +156,20 @@
156156
"type": "git",
157157
"url": "git+https://github.com/rootstrap/react-native-template.git"
158158
},
159-
"packageManager": "[email protected]"
159+
"packageManager": "[email protected]",
160+
"expo": {
161+
"doctor": {
162+
"reactNativeDirectoryCheck": {
163+
"listUnknownPackages": false,
164+
"exclude": [
165+
"react-native-restart"
166+
]
167+
}
168+
},
169+
"install": {
170+
"exclude": [
171+
"eslint-config-expo"
172+
]
173+
}
174+
}
160175
}

pnpm-lock.yaml

Lines changed: 7 additions & 59 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/components/ui/modal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ type ModalHeaderProps = {
6161

6262
export const useModal = () => {
6363
const ref = useRef<BottomSheetModal>(null);
64-
const present = useCallback((data?: unknown) => {
64+
const present = useCallback((data?: never) => {
6565
ref.current?.present(data);
6666
}, []);
6767
const dismiss = useCallback(() => {

src/components/ui/select.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ export const Select = (props: SelectProps) => {
197197
<Pressable
198198
className={styles.input()}
199199
disabled={disabled}
200-
onPress={modal.present}
200+
onPress={() => modal.present()}
201201
testID={testID ? `${testID}-trigger` : undefined}
202202
>
203203
<View className="flex-1">

0 commit comments

Comments
 (0)