diff --git a/packages/web/src/components/Share.tsx b/packages/web/src/components/Share.tsx index 3d392d88..6ff5d6af 100644 --- a/packages/web/src/components/Share.tsx +++ b/packages/web/src/components/Share.tsx @@ -177,14 +177,14 @@ function formatErrorString(error: string): JSX.Element { const startsWithError = error.startsWith(errorMarker) return startsWithError ? ( -
+
Error
{error.slice(errorMarker.length)}
-
+
) : (
- {error}
+{error}
)
}
@@ -209,13 +209,13 @@ function getDiagnostics(
const column = d.range.start.character + 1 // 1-based
result.push(
- +
Error
[{line}:{column}]
{d.message}
-
+
)
}
}
@@ -535,7 +535,10 @@ export default function Share(props: {
messages: RecordWaiting for messages...
} +{JSON.stringify(msg, null, 2)}
- Waiting for messages...
} + > +{JSON.stringify(msg, null, 2)}
+