Skip to content

Commit 30d0399

Browse files
committed
fix(app-shell): type the app list answer the bundle entry reads
Claude-Session: https://claude.ai/code/session_017xRBcWDb7S8Z7oRDGzvfT2 Co-authored-by: Claude <noreply@anthropic.com>
1 parent da7da08 commit 30d0399

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎ui/packages/app-shell/src/console/appObjectScope.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1019,7 +1019,7 @@ export function useAppObjectScopePrefetch(): void {
10191019
// Named by the list in hand already: the effect below enters it now.
10201020
if (bundleAppName || !routeSegment || !dataSource || !ensure || typeof load !== 'function') return;
10211021
let live = true;
1022-
void ensure('app').then((list) => {
1022+
void ensure('app').then((list: unknown) => {
10231023
if (!live) return;
10241024
const listed = matchAppBySegment(Array.isArray(list) ? (list as ListedApp[]) : [], routeSegment);
10251025
const name = typeof listed?.name === 'string' && listed.name ? listed.name : undefined;

0 commit comments

Comments
 (0)