mirror of
https://github.com/AstrBotDevs/AstrBot
synced 2026-07-17 09:50:31 +08:00
* fix(dashboard): stabilize sidebar hash navigation on startup * fix(dashboard): reuse shared extension tab route helpers * fix(dashboard): avoid leaking extension route query state * fix(dashboard): preserve route params in tab locations * fix(dashboard): harden hash tab routing fallbacks * fix(dashboard): warn on tab route navigation failures * fix(dashboard): harden extension tab startup routing
6 lines
200 B
JavaScript
6 lines
200 B
JavaScript
export function waitForRouterReadyInBackground(router, logger = console) {
|
|
router.isReady().catch((error) => {
|
|
logger.warn?.('Router did not become ready after fallback mount:', error);
|
|
});
|
|
}
|