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

23 lines
792 B
TypeScript
Raw Normal View History

2026-07-23 10:11:24 +00:00
// Module ID: 11806
// Function ID: 91623
2026-07-20 16:05:17 +00:00
// Name: getSelectedSpecialNavigationPath
2026-07-23 10:11:24 +00:00
// Dependencies: [653, 3958, 2]
2026-07-20 16:05:17 +00:00
// Exports: useSelectedSpecialNavigationPath
2026-07-23 10:11:24 +00:00
// Module 11806 (getSelectedSpecialNavigationPath)
import { Routes } from "ME";
2026-07-20 16:05:17 +00:00
function getSelectedSpecialNavigationPath(pathname) {
if (pathname.pathname === Routes.FRIENDS) {
return obj.FRIENDS;
}
}
const obj = { FRIENDS: 0, [0]: "FRIENDS" };
2026-07-23 10:11:24 +00:00
const result = require("set").fileFinishedImporting("modules/navbars/native/NavigationPathUtils.tsx");
2026-07-20 16:05:17 +00:00
export const SpecialNavigationPath = obj;
export { getSelectedSpecialNavigationPath };
export const useSelectedSpecialNavigationPath = function useSelectedSpecialNavigationPath() {
2026-07-23 10:11:24 +00:00
return getSelectedSpecialNavigationPath(require(3958) /* _extends */.useLocation());
2026-07-20 16:05:17 +00:00
};