fix: add downloads view check based on window width

This commit is contained in:
rzmk 2024-03-27 01:21:04 -04:00
parent 4f220e4f8c
commit e9e795dda5
No known key found for this signature in database

View file

@ -16,7 +16,8 @@ export const Hero = () => {
if (
userAgent.includes("iPhone") ||
userAgent.includes("Android") ||
userAgent.includes("iPad")
userAgent.includes("iPad") ||
window.innerWidth < 768
) {
setOS("unknown");
return;