Format Shell after Heute route helper

Co-authored-by: cynarAI <cynarAI@users.noreply.github.com>
This commit is contained in:
Cursor Agent 2026-10-06 17:41:46 +00:00
parent 83ec966a67
commit 490e2fefe8
No known key found for this signature in database

View File

@ -629,8 +629,7 @@ export function ShellPage() {
routePathname.current = location.pathname;
const routeOnHeute = useRef(onHeuteRoute);
routeOnHeute.current = onHeuteRoute;
const holdingHeuteRoute = () =>
routeOnHeute.current || isHeuteAppPath(routePathname.current);
const holdingHeuteRoute = () => routeOnHeute.current || isHeuteAppPath(routePathname.current);
const routeGroupId = useRef<string | undefined>(groupId);
routeGroupId.current = groupId;
const activeBotId = useRef<string | undefined>(inGroup ? undefined : active?.id);