main repo

This commit is contained in:
Basilosaurusrex
2025-11-24 18:09:40 +01:00
parent b636ee5e70
commit f027651f9b
34146 changed files with 4436636 additions and 0 deletions

19
node_modules/next/dist/esm/client/with-router.js generated vendored Normal file
View File

@@ -0,0 +1,19 @@
import React from "react";
import { useRouter } from "./router";
export default function withRouter(ComposedComponent) {
function WithRouterWrapper(props) {
return /*#__PURE__*/ React.createElement(ComposedComponent, {
router: useRouter(),
...props
});
}
WithRouterWrapper.getInitialProps = ComposedComponent.getInitialProps;
WithRouterWrapper.origGetInitialProps = ComposedComponent.origGetInitialProps;
if (process.env.NODE_ENV !== "production") {
const name = ComposedComponent.displayName || ComposedComponent.name || "Unknown";
WithRouterWrapper.displayName = "withRouter(" + name + ")";
}
return WithRouterWrapper;
}
//# sourceMappingURL=with-router.js.map