Skip to content

Commit 9012402

Browse files
committed
refactor(app-shell): type the app menu's design-mode hook
Claude-Session: https://claude.ai/code/session_01ADHkmRB34k9WUWeGpRnVNm Co-authored-by: Claude <noreply@anthropic.com>
1 parent ff71a48 commit 9012402

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎ui/packages/app-shell/src/layout/SidebarAppMenu.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ function useAddAppEntries(): AddAppEntry[] {
116116
* customization), except where the customization door is walled off for this
117117
* caller. Not drawn where no shell holds the mode, nor while the mode is on.
118118
*/
119-
function useEnterDesignMode(apps: any[], activeAppName: string): (() => void) | null {
119+
function useEnterDesignMode(apps: Parameters<typeof matchAppBySegment>[0], activeAppName: string): (() => void) | null {
120120
const entry = useStudioEntryGate(appStudioDesignPath(matchAppBySegment(apps, activeAppName), true));
121121
const designMode = useDesignMode();
122122
const posture = useTenancyPosture();

0 commit comments

Comments
 (0)