Skip to content

A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.

ignore /lsp/health in wasm (#8974)

Myles Scolnick71d2f49fd21c
diff --git a/frontend/src/components/editor/chrome/wrapper/footer-items/lsp-status.tsx b/frontend/src/components/editor/chrome/wrapper/footer-items/lsp-status.tsx
index 871403ac0a..521a7d743a 100644
--- a/frontend/src/components/editor/chrome/wrapper/footer-items/lsp-status.tsx
+++ b/frontend/src/components/editor/chrome/wrapper/footer-items/lsp-status.tsx
@@ -13,6 +13,7 @@ import type {
LspRestartRequest,
LspRestartResponse,
} from "@/core/network/types";
+import { isWasm } from "@/core/wasm/utils";
import { isAppConnected } from "@/core/websocket/connection-utils";
import { useAsyncData } from "@/hooks/useAsyncData";
import { useInterval } from "@/hooks/useInterval";
@@ -26,7 +27,7 @@ export const LspStatus: React.FC = () => {
const setLspHealth = useSetAtom(lspHealthAtom);
const { isFetching, data, refetch } = useAsyncData(async () => {
- if (!isAppConnected(connection)) {
+ if (isWasm() || !isAppConnected(connection)) {
return null;
}