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

24 lines
803 B
TypeScript
Raw Normal View History

2026-07-21 06:55:02 +00:00
// Module ID: 11795
2026-07-21 22:01:30 +00:00
// Function ID: 91561
2026-07-20 16:05:17 +00:00
// Name: getSelectedSpecialNavigationPath
// Dependencies: [0, 0, 0]
// Exports: useSelectedSpecialNavigationPath
2026-07-21 06:55:02 +00:00
// Module 11795 (getSelectedSpecialNavigationPath)
2026-07-21 22:01:30 +00:00
import { Routes } from "result";
import result from "result";
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-21 22:01:30 +00:00
result = result.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() {
return getSelectedSpecialNavigationPath(require(dependencyMap[1]).useLocation());
};