Skip to content

Commit

Permalink
fix(style): Fixed a type error from #86c29780
Browse files Browse the repository at this point in the history
  • Loading branch information
FleetAdmiralJakob committed Jan 21, 2024
1 parent 86c2978 commit bc907cb
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions apps/web/src/components/Layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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. */
Expand Down

1 comment on commit bc907cb

@vercel
Copy link

@vercel vercel bot commented on bc907cb Jan 21, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.