From 587d4dbef92f22e6aef3629528cad85d2a417075 Mon Sep 17 00:00:00 2001 From: wil Date: Thu, 7 Mar 2024 10:40:35 -0500 Subject: [PATCH] pretty print json --- .../components/pageVSTApp/compAdminPanel.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/fakeyou.com/src/v2/view/pages/video_styletransfer/components/pageVSTApp/compAdminPanel.tsx b/packages/fakeyou.com/src/v2/view/pages/video_styletransfer/components/pageVSTApp/compAdminPanel.tsx index 0d2d22e4ae..8cb8ec0a91 100644 --- a/packages/fakeyou.com/src/v2/view/pages/video_styletransfer/components/pageVSTApp/compAdminPanel.tsx +++ b/packages/fakeyou.com/src/v2/view/pages/video_styletransfer/components/pageVSTApp/compAdminPanel.tsx @@ -23,7 +23,7 @@ export const CompAdminPanel = ({ dispatchPageState: (action: Action) => void; })=>{ const history = useHistory(); - const exampleJSON = JSON.stringify(mapRequest(vstValues)); + const exampleJSON = JSON.stringify(mapRequest(vstValues), null, 4); const [jsonRequest, setJsonRequest] = useState(exampleJSON); const handleSendRequest = ()=>{ EnqueueVideoStyleTransfer(JSON.parse(jsonRequest)).then(res => {