From 8b478c939a7da8978d53eceab9d26ab70cc4a92e Mon Sep 17 00:00:00 2001 From: Chewbacca Date: Mon, 20 Mar 2023 16:08:29 -0400 Subject: [PATCH] Revert change --- app/soapbox/main.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/soapbox/main.tsx b/app/soapbox/main.tsx index bfc31649e6..f5cf9f0f52 100644 --- a/app/soapbox/main.tsx +++ b/app/soapbox/main.tsx @@ -41,9 +41,9 @@ ready(() => { root.render(); - // if (BuildConfig.NODE_ENV === 'production') { - // avoid offline in dev mode because it's harder to debug - // https://github.com/NekR/offline-plugin/pull/201#issuecomment-285133572 - OfflinePluginRuntime.install(); - // } + if (BuildConfig.NODE_ENV === 'production') { + // avoid offline in dev mode because it's harder to debug + // https://github.com/NekR/offline-plugin/pull/201#issuecomment-285133572 + OfflinePluginRuntime.install(); + } }); \ No newline at end of file