feat(ui): refonte complete interface extraction moderne
This commit is contained in:
parent
0f9e50df71
commit
9af63f22fe
@ -95,7 +95,7 @@ export default function App() {
|
||||
const hiddenDelay = 20000
|
||||
console.log('⏸️ [APP] Onglet caché, report du polling de', hiddenDelay, 'ms')
|
||||
const t = setTimeout(tick, hiddenDelay)
|
||||
dispatch(setPollingInterval(t as unknown as number))
|
||||
dispatch(setPollingInterval(t as any))
|
||||
return
|
||||
}
|
||||
|
||||
@ -108,11 +108,11 @@ export default function App() {
|
||||
const factor = Math.min(4, Math.pow(2, Math.floor(pollCount / 5)))
|
||||
const delay = base * factor
|
||||
const t = setTimeout(tick, delay)
|
||||
dispatch(setPollingInterval(t as unknown as number))
|
||||
dispatch(setPollingInterval(t as any))
|
||||
}
|
||||
|
||||
const t0 = setTimeout(tick, 0)
|
||||
dispatch(setPollingInterval(t0 as unknown as number))
|
||||
dispatch(setPollingInterval(t0 as any))
|
||||
},
|
||||
[dispatch],
|
||||
)
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user