From 32962a6336e8d2a59d7335beed674d0c9d6d0dd2 Mon Sep 17 00:00:00 2001 From: Gregory Schier Date: Fri, 17 Nov 2023 07:52:03 -0800 Subject: [PATCH] Tweak --- src-web/components/RequestPane.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ? (