diff --git a/components/layout.js b/components/layout.js
index dc174dc2..e90f6ccf 100644
--- a/components/layout.js
+++ b/components/layout.js
@@ -15,18 +15,16 @@ export default function Layout ({
return (
<>
{seo && }
- {/* android prop if true disables its native PTR */}
-
- {contain
- ? (
-
- {children}
-
- )
- : children}
- {footer && }
-
-
+
+ {contain
+ ? (
+
+ {children}
+
+ )
+ : children}
+ {footer && }
+
>
)
}
diff --git a/components/pull-to-refresh.js b/components/pull-to-refresh.js
index 28f2a823..64c7bbc7 100644
--- a/components/pull-to-refresh.js
+++ b/components/pull-to-refresh.js
@@ -4,7 +4,7 @@ import styles from './pull-to-refresh.module.css'
const REFRESH_THRESHOLD = 50
-export default function PullToRefresh ({ children, android }) {
+export default function PullToRefresh ({ children, android, className }) {
const router = useRouter()
const [pullDistance, setPullDistance] = useState(0)
const [isPWA, setIsPWA] = useState(false)
@@ -68,17 +68,16 @@ export default function PullToRefresh ({ children, android }) {
}, [pullDistance])
return (
-
-
-
- {pullMessage}
-
- {children}
-
-
+
+
+ {pullMessage}
+
+ {children}
+
)
}