From 6783ea6665a6ce61e89c1088bcf0f54ab2ae6eb9 Mon Sep 17 00:00:00 2001 From: lublagg Date: Thu, 21 Nov 2024 16:18:50 -0500 Subject: [PATCH] remove window.focud() to enable dialog to work as expected --- src/index.tsx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/index.tsx b/src/index.tsx index 051716a..43f9008 100755 --- a/src/index.tsx +++ b/src/index.tsx @@ -8,9 +8,5 @@ const container = document.getElementById("app"); if (container) { const root = createRoot(container); - window.addEventListener("load", () => { - window.focus(); - }); - root.render(); }