mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-09-13 05:07:51 +02:00
fix(sdk-js): remove client-only bootstrapping warning
This commit is contained in:
@@ -215,10 +215,6 @@ export function experimental_loadShare(name: string, module: unknown) {
|
||||
|
||||
export function bootstrapUiContext() {
|
||||
if (typeof window === "undefined") {
|
||||
console.warn(
|
||||
"Attempting to bootstrap UI context outside of browser environment. " +
|
||||
"Avoid importing from `@langchain/langgraph-sdk/react-ui` in server context.",
|
||||
);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user