Files
med-notes/.pnpm-store/v10/files/51/c660205f3c8d57b6f1b9ba50924588fdfbe9e27c2cab281836223ee3f0027467d13ab65ffae919dd78872443ced50623042520258057eba95bbd145bc81a29
2025-05-09 05:30:08 +02:00

17 lines
415 B
Plaintext

import * as React from "react";
const routerContext = React.createContext(null);
function getRouterContext() {
if (typeof document === "undefined") {
return routerContext;
}
if (window.__TSR_ROUTER_CONTEXT__) {
return window.__TSR_ROUTER_CONTEXT__;
}
window.__TSR_ROUTER_CONTEXT__ = routerContext;
return routerContext;
}
export {
getRouterContext
};
//# sourceMappingURL=routerContext.js.map