diff --git a/apps/web/src/components/Layout.tsx b/apps/web/src/components/Layout.tsx index c6799947..02bc2491 100644 --- a/apps/web/src/components/Layout.tsx +++ b/apps/web/src/components/Layout.tsx @@ -20,17 +20,10 @@ interface LayoutProps { declare global { interface Window { - MSStream: any; + MSStream: unknown; } } -function isIOS() { - if (typeof window !== "undefined") { - return /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream; - } - return false; -} - /* If you use this component, you have to add the i18n translation SSR stuff to the getStaticProps function of the page you use this component in. */