Skip to content

Commit

Permalink
Fix type with Platform.OS not including the OS part (doh)
Browse files Browse the repository at this point in the history
  • Loading branch information
tek256 committed Jul 26, 2021
1 parent 3b7994f commit 51f6aec
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 51f6aec

Please sign in to comment.