securityos/node_modules/next/dist/esm/client/components/searchparams-bailout-proxy.js

13 lines
472 B
JavaScript

import { staticGenerationBailout } from "./static-generation-bailout";
export function createSearchParamsBailoutProxy() {
return new Proxy({}, {
get (_target, prop) {
// React adds some properties on the object when serializing for client components
if (typeof prop === "string") {
staticGenerationBailout("searchParams." + prop);
}
}
});
}
//# sourceMappingURL=searchparams-bailout-proxy.js.map