This commit is contained in:
janisslsm committed 2026-11-01 12:12:55 +02:00
1 parent 1781d25a15
commit 732c0ad767
33051 files changed
+2591613 -3019689

No files matched your search

+29
View File
@@ -0,0 +1,29 @@
// Metro module 1569 (f1570).
import { forwardRef, useEffect } from "react";
import Module1570 from "./Module1570";
import { CurrentRenderContext } from "./Module1483";
export default forwardRef(function ServerContainer(props, a1) {
let c13120_0;
const { children, location: location2 } = props;
c13120_0 = void 0;
useEffect(() => {
console.error("'ServerContainer' should only be used on the server with 'react-dom/server' for SSR.");
}, []);
const value = {};
c13120_0 = value;
if (a1) {
const current = {
getCurrentOptions: () => c13120_0.options
};
if (typeof a1 === "function") {
a1(current);
} else {
a1.current = current;
}
}
return <Module1570.Provider value={{
location: location2
}}>
<CurrentRenderContext.Provider value={value}>{children}</CurrentRenderContext.Provider>
</Module1570.Provider>;
});