Skip to content

Commit

Permalink
Merge pull request #380 from tek256/dev-5.x
Browse files Browse the repository at this point in the history
Fix type with Platform.OS not including the OS part (doh)
  • Loading branch information
hossein-zare authored Jul 26, 2021
2 parents fc5d1b8 + 51f6aec commit 00aa22c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Picker.js
Original file line number Diff line number Diff line change
Expand Up @@ -537,7 +537,7 @@ function Picker({
* onLayout.
*/
const __onLayout = useCallback((e) => {
if(Platform !== "web")
if(Platform.OS !== "web")
e.persist();

onLayout(e);
Expand Down

0 comments on commit 00aa22c

Please sign in to comment.