Files
discord-decomp/modules/navbars/native/NavigationPathUtils.tsx
T
2026-11-01 12:12:55 +02:00

17 lines
492 B
TypeScript

// Metro module 11874 (f11875).
import { Routes } from "../../../Constants";
import { useLocation } from "../../../_bundle/Module4017";
let c8141_3 = {
FRIENDS: 0,
0: "FRIENDS"
};
export { c8141_3 as SpecialNavigationPath };
export function getSelectedSpecialNavigationPath(a0) {
if (a0.pathname === Routes.FRIENDS) {
return c8141_3.FRIENDS;
}
}
export function useSelectedSpecialNavigationPath() {
return useLocation().pathname === Routes.FRIENDS ? c8141_3.FRIENDS : void 0;
}