Fix lint errors

This commit is contained in:
Gregory Schier committed 2025-06-04 11:33:10 -07:00
1 parent 021f2171d6
commit fcda6f8d32
7 files changed
+20 -18

No files matched your search

@@ -125,8 +125,8 @@ function ActualEventStreamViewer({ response }: Props) {
function FormattedEditor({ text, language }: { text: string; language: EditorProps['language'] }) {
const formatted = useFormatText({ text, language, pretty: true });
if (formatted.data == null) return null;
return <Editor readOnly defaultValue={formatted.data} language={language} stateKey={null} />;
if (formatted == null) return null;
return <Editor readOnly defaultValue={formatted} language={language} stateKey={null} />;
}
function EventRow({