mirror of
https://github.com/dathere/qsvpro.dathere.com.git
synced 2025-12-19 05:59:24 +00:00
fix: add downloads view check based on window width
This commit is contained in:
parent
4f220e4f8c
commit
e9e795dda5
1 changed files with 2 additions and 1 deletions
|
|
@ -16,7 +16,8 @@ export const Hero = () => {
|
||||||
if (
|
if (
|
||||||
userAgent.includes("iPhone") ||
|
userAgent.includes("iPhone") ||
|
||||||
userAgent.includes("Android") ||
|
userAgent.includes("Android") ||
|
||||||
userAgent.includes("iPad")
|
userAgent.includes("iPad") ||
|
||||||
|
window.innerWidth < 768
|
||||||
) {
|
) {
|
||||||
setOS("unknown");
|
setOS("unknown");
|
||||||
return;
|
return;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue