diff --git a/src/components/helpers/get-ua-data.js b/src/components/helpers/get-ua-data.js index 6788036..284f011 100644 --- a/src/components/helpers/get-ua-data.js +++ b/src/components/helpers/get-ua-data.js @@ -30,6 +30,6 @@ export const getNavigatorInstance = () => { export const isIOS13Check = type => { const nav = getNavigatorInstance(); return ( - nav && (nav.platform.indexOf(type) !== -1 || (nav.platform === 'MacIntel' && nav.maxTouchPoints > 1 && !window.MSStream)) + nav && nav.platform && (nav.platform.indexOf(type) !== -1 || (nav.platform === 'MacIntel' && nav.maxTouchPoints > 1 && !window.MSStream)) ); };