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

30 lines
948 B
TypeScript
Raw Normal View History

2026-09-02 09:53:35 +00:00
// Module ID: 12537
// Function ID: 12538
2026-07-29 08:29:29 +00:00
// Name: SpecialNavigationPath
2026-09-02 09:53:35 +00:00
// Dependencies: [673, 4310, 2]
2026-07-29 08:29:29 +00:00
// Exports: getSelectedSpecialNavigationPath, useSelectedSpecialNavigationPath
2026-07-20 16:05:17 +00:00
2026-09-02 09:53:35 +00:00
// Module 12537 (SpecialNavigationPath)
2026-08-24 06:08:38 +00:00
import set from "set" /* 2 */;
2026-09-02 09:53:35 +00:00
import ME from "ME" /* 673 */;
2026-09-01 10:26:29 +00:00
import _extends from "_extends" /* 4310 */;
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
};