diff --git a/frontend/src/App.jsx b/frontend/src/App.jsx index 87a0963..56fd27e 100644 --- a/frontend/src/App.jsx +++ b/frontend/src/App.jsx @@ -3268,6 +3268,7 @@ export default function App() { if (_shareMatch) return ; const mobile = useIsMobile(); + const mainRef = useRef(null); const [splash, setSplash] = useState(() => { // Only show splash in standalone PWA mode, and only once per session return window.matchMedia('(display-mode: standalone)').matches && !sessionStorage.getItem('splash_shown'); @@ -3348,7 +3349,6 @@ export default function App() { if(!user) return setUser(u)}/>; const activeTool = TOOLS.find(t=>t.id===active); - const mainRef = useRef(null); // Mobile padding bottom für fixed nav const isNachrichten = active === 'nachrichten';