Skip to content

Commit 00aa22c

Browse files
authored
Merge pull request #380 from tek256/dev-5.x
Fix type with Platform.OS not including the OS part (doh)
2 parents fc5d1b8 + 51f6aec commit 00aa22c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Picker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -537,7 +537,7 @@ function Picker({
537537
* onLayout.
538538
*/
539539
const __onLayout = useCallback((e) => {
540-
if(Platform !== "web")
540+
if(Platform.OS !== "web")
541541
e.persist();
542542

543543
onLayout(e);

0 commit comments

Comments
 (0)