From a8f88b733ee80437d40da77ba2c78565277b82ac Mon Sep 17 00:00:00 2001 From: Afo Date: Mon, 26 Aug 2024 01:40:20 -0700 Subject: [PATCH] removed unused code --- packages/client/src/providers/PWAProvider.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/client/src/providers/PWAProvider.tsx b/packages/client/src/providers/PWAProvider.tsx index 606fd27..9cb3717 100644 --- a/packages/client/src/providers/PWAProvider.tsx +++ b/packages/client/src/providers/PWAProvider.tsx @@ -43,8 +43,6 @@ export const usePWA = (): PWADataProps => { const platform = getMobileOperatingSystem(); async function handleInstallCheck(e: any) { - const platform = getMobileOperatingSystem(); - if ( window.matchMedia("(display-mode: standalone)").matches || window.matchMedia("(display-mode: fullscreen)").matches