From c6b137a15356f894ba555661184af4cea4d916a2 Mon Sep 17 00:00:00 2001 From: Paul Frazee Date: Thu, 17 Nov 2022 13:15:04 -0600 Subject: [PATCH] Fix: correctly set visible on screens --- src/view/screens/Home.tsx | 1 - src/view/shell/mobile/index.tsx | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/view/screens/Home.tsx b/src/view/screens/Home.tsx index 7abbfdbd..668ec3a7 100644 --- a/src/view/screens/Home.tsx +++ b/src/view/screens/Home.tsx @@ -45,7 +45,6 @@ export const Home = observer(function Home({ let aborted = false const pollInterval = setInterval(() => doPoll(), 15e3) if (!visible) { - console.log('hit') return } if (hasSetup) { diff --git a/src/view/shell/mobile/index.tsx b/src/view/shell/mobile/index.tsx index 3fadee5e..de973bd9 100644 --- a/src/view/shell/mobile/index.tsx +++ b/src/view/shell/mobile/index.tsx @@ -256,7 +256,7 @@ export const MobileShell: React.FC = observer(() => { ]}>