Initial boiler plate project

This commit is contained in:
2024-09-24 03:52:46 +00:00
parent 6120b2d6c3
commit 154b93e267
10034 changed files with 2079352 additions and 2 deletions

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

@ -0,0 +1,20 @@
import { jsx as _jsx } from "react/jsx-runtime";
import React from "react";
import { useRouter } from "./router";
export default function withRouter(ComposedComponent) {
function WithRouterWrapper(props) {
return /*#__PURE__*/ _jsx(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