Skip to content

Commit 9dde3cc

Browse files
committed
refactor: Remove redundant app installation checks in Flipper store
1 parent 735862d commit 9dde3cc

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

frontend/src/entities/Flipper/model/stores.ts

-18
Original file line numberDiff line numberDiff line change
@@ -143,14 +143,6 @@ export const useFlipperStore = defineStore('flipper', () => {
143143
if (flags.updateInProgress) {
144144
onUpdateStage('end')
145145
}
146-
147-
if (mode !== 'CLI' && route.fullPath.split('/')[1] === 'apps') {
148-
if (!appsStore.flipperInstalledApps?.length) {
149-
await appsStore.getInstalledApps({
150-
refreshInstalledApps: true
151-
})
152-
}
153-
}
154146
})
155147
.catch(() => {
156148
// flags.connected = false
@@ -299,16 +291,6 @@ export const useFlipperStore = defineStore('flipper', () => {
299291
// await asyncSleep(1000)
300292

301293
// flipper.value = _flipper
302-
if (
303-
localFlipper.readingMode.type === 'rpc' &&
304-
route.fullPath.split('/')[1] === 'apps'
305-
) {
306-
if (!appsStore.flipperInstalledApps?.length) {
307-
await appsStore.getInstalledApps({
308-
refreshInstalledApps: true
309-
})
310-
}
311-
}
312294
}
313295

314296
const isDataFlipperElectron = (

0 commit comments

Comments
 (0)