This commit is contained in:
Gregory Schier
2023-11-17 07:52:03 -08:00
parent b268b72a4a
commit 32962a6336

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