decord/source/modules/navbars/native/NavigationPathUtils.tsx

30 lines
948 B
TypeScript
Raw Normal View History

2026-08-24 06:08:38 +00:00
// Module ID: 11999
// Function ID: 12000
2026-07-29 08:29:29 +00:00
// Name: SpecialNavigationPath
2026-08-24 06:08:38 +00:00
// Dependencies: [676, 4212, 2]
2026-07-29 08:29:29 +00:00
// Exports: getSelectedSpecialNavigationPath, useSelectedSpecialNavigationPath
2026-07-20 16:05:17 +00:00
2026-08-24 06:08:38 +00:00
// Module 11999 (SpecialNavigationPath)
import set from "set" /* 2 */;
import ME from "ME" /* 676 */;
import _extends from "_extends" /* 4212 */;
2026-07-20 16:05:17 +00:00
2026-08-24 06:08:38 +00:00
const Routes = ME.Routes;
2026-07-29 08:29:29 +00:00
let obj = { FRIENDS: 0, [0]: "FRIENDS" };
2026-08-24 06:08:38 +00:00
const result = set.fileFinishedImporting("modules/navbars/native/NavigationPathUtils.tsx");
2026-07-20 16:05:17 +00:00
export const SpecialNavigationPath = obj;
2026-07-29 08:29:29 +00:00
export const getSelectedSpecialNavigationPath = function getSelectedSpecialNavigationPath(pathname) {
if (pathname.pathname === Routes.FRIENDS) {
return obj.FRIENDS;
}
};
2026-07-20 16:05:17 +00:00
export const useSelectedSpecialNavigationPath = function useSelectedSpecialNavigationPath() {
2026-08-24 06:08:38 +00:00
obj = _extends;
2026-07-29 08:29:29 +00:00
let FRIENDS;
if (obj.useLocation().pathname === Routes.FRIENDS) {
FRIENDS = obj.FRIENDS;
}
return FRIENDS;
2026-07-20 16:05:17 +00:00
};