From 6acbcc64c7a8d6cfbbbc60f25bc010b6efb76be3 Mon Sep 17 00:00:00 2001 From: Nick Mitchell Date: Fri, 7 Mar 2025 10:29:09 -0500 Subject: [PATCH] fix: remove pdl__is_leaf from Source tab Signed-off-by: Nick Mitchell --- pdl-live-react/src/view/code/Code.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdl-live-react/src/view/code/Code.tsx b/pdl-live-react/src/view/code/Code.tsx index e15890a2..1f090e00 100644 --- a/pdl-live-react/src/view/code/Code.tsx +++ b/pdl-live-react/src/view/code/Code.tsx @@ -61,7 +61,7 @@ function block_code_cleanup(data: string | PdlBlock): string | PdlBlock { return data } // remove pdl__result - const new_data = { ...data, pdl__result: undefined } + const new_data = { ...data, pdl__result: undefined, pdl__is_leaf: undefined } // remove trace match(new_data).with({ pdl__trace: P._ }, (data) => { delete data.pdl__trace