diff --git a/src-web/components/RequestPane.tsx b/src-web/components/RequestPane.tsx index 28a1e855..1491781a 100644 --- a/src-web/components/RequestPane.tsx +++ b/src-web/components/RequestPane.tsx @@ -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 ? (