From 85ef564b6338ef75b06ad48839583124293c20e4 Mon Sep 17 00:00:00 2001 From: Tom Hacohen Date: Thu, 6 Aug 2020 11:02:18 +0300 Subject: [PATCH] Autorefresh: remove url hack. --- src/App.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index 4591c13..df791b9 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -162,8 +162,7 @@ export default function App() { } function autoRefresh() { - if (navigator.onLine && etebase && - !(window.location.pathname.match(/.*\/(new|edit|duplicate)$/))) { + if (navigator.onLine && etebase) { refresh(); } }