We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 77de630 commit e1bf0c4Copy full SHA for e1bf0c4
src/routes/__root.tsx
@@ -120,10 +120,10 @@ function RootComponent(): JSX.Element {
120
const [isAppleWatch, setIsAppleWatch] = useState(false);
121
const router = useRouter();
122
123
- // Detect Apple Watch screen size (typically 136-205px wide)
+ // Detect Apple Watch screen size (312-416px wide across all models)
124
useEffect(() => {
125
const checkScreenSize = (): void => {
126
- setIsAppleWatch(window.innerWidth <= 205);
+ setIsAppleWatch(window.innerWidth <= 416);
127
};
128
129
checkScreenSize();
0 commit comments