.
This commit is contained in:
+17
@@ -0,0 +1,17 @@
|
||||
const error = new Proxy({}, {
|
||||
get (_target) {
|
||||
throw Object.defineProperty(new Error('Using Client Components is not allowed in this environment.'), "__NEXT_ERROR_CODE", {
|
||||
value: "E44",
|
||||
enumerable: false,
|
||||
configurable: true
|
||||
});
|
||||
}
|
||||
});
|
||||
export default new Proxy({}, {
|
||||
get: (_target, p)=>{
|
||||
if (p === '__esModule') return true;
|
||||
return error;
|
||||
}
|
||||
});
|
||||
|
||||
//# sourceMappingURL=use-client-disallowed.js.map
|
||||
Reference in New Issue
Block a user