File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -135,8 +135,10 @@ export const IdeLauncher = () => {
135135 await tryToScanRunningIdeProjects ( ) ;
136136 }
137137
138- void initialScan ( ) ;
139- } , [ tryToScanRunningIdeProjects ] ) ;
138+ if ( ! isMobile ) {
139+ void initialScan ( ) ;
140+ }
141+ } , [ isMobile , tryToScanRunningIdeProjects ] ) ;
140142
141143 const renderContent = ( ) => {
142144 if ( ! action ) {
Original file line number Diff line number Diff line change 11import { StrictMode } from "react" ;
22import { createRoot } from "react-dom/client" ;
3- import { sendMessage } from "../../api" ;
43import { App } from "../../components/common/App" ;
54import { PostHogHoC } from "../../components/common/PostHogHoC" ;
65import { IdeLauncher } from "../../components/IdeLauncher" ;
@@ -14,9 +13,6 @@ window.addEventListener("error", (e) => {
1413 handleUncaughtError ( APP_ID , e ) ;
1514} ) ;
1615
17- // TODO: make not required and remove
18- window . sendMessageToDigma = sendMessage ;
19-
2016const rootElement = document . getElementById ( "root" ) ;
2117
2218if ( rootElement ) {
You can’t perform that action at this time.
0 commit comments