From 5c5661bef5f1ca9bc3591487f3917da6694a6728 Mon Sep 17 00:00:00 2001 From: Sergey Karmanov Date: Sat, 26 Aug 2023 14:23:06 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A2=D0=B5=D1=81=D1=82=20=D1=81=D0=BE=D0=BA?= =?UTF-8?q?=D1=80=D1=8B=D1=82=D0=B8=D1=8F=20URL=20=D1=81=D1=82=D1=80=D0=BE?= =?UTF-8?q?=D0=BA=D0=B8=20=D0=B2=20=D0=B1=D1=80=D0=B0=D1=83=D0=B7=D0=B5?= =?UTF-8?q?=D1=80=D0=B0=D1=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Start/Start.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/components/Start/Start.js b/src/components/Start/Start.js index c3622c0..c5c8aa6 100644 --- a/src/components/Start/Start.js +++ b/src/components/Start/Start.js @@ -5,6 +5,14 @@ const Start = (props) => { const route = props.getValue; const kek = './circle.html' + function hideAddressBar(){ + if(document.documentElement.scrollHeight { const handler = (ev: MessageEvent<{ type: string }>) => { if (typeof ev.data !== 'object') return