This commit is contained in:
Gregory Schier
2023-11-17 07:52:03 -08:00
parent 3ad06be9d6
commit 44fa2c8dbb

View File

@@ -255,7 +255,7 @@ export const RequestPane = memo(function RequestPane({ style, fullHeight, classN
defaultValue={`${activeRequest?.body?.text ?? ''}`}
contentType="application/json"
onChange={handleBodyTextChange}
format={(v) => tryFormatJson(v)}
format={tryFormatJson}
/>
) : activeRequest.bodyType === BODY_TYPE_XML ? (
<Editor