Format Shell after Heute route helper
Co-authored-by: cynarAI <cynarAI@users.noreply.github.com>
This commit is contained in:
parent
83ec966a67
commit
490e2fefe8
@ -629,8 +629,7 @@ export function ShellPage() {
|
|||||||
routePathname.current = location.pathname;
|
routePathname.current = location.pathname;
|
||||||
const routeOnHeute = useRef(onHeuteRoute);
|
const routeOnHeute = useRef(onHeuteRoute);
|
||||||
routeOnHeute.current = onHeuteRoute;
|
routeOnHeute.current = onHeuteRoute;
|
||||||
const holdingHeuteRoute = () =>
|
const holdingHeuteRoute = () => routeOnHeute.current || isHeuteAppPath(routePathname.current);
|
||||||
routeOnHeute.current || isHeuteAppPath(routePathname.current);
|
|
||||||
const routeGroupId = useRef<string | undefined>(groupId);
|
const routeGroupId = useRef<string | undefined>(groupId);
|
||||||
routeGroupId.current = groupId;
|
routeGroupId.current = groupId;
|
||||||
const activeBotId = useRef<string | undefined>(inGroup ? undefined : active?.id);
|
const activeBotId = useRef<string | undefined>(inGroup ? undefined : active?.id);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user