From 26b10b55d3852ff3aa1c1e103d023d78e10fcc7b Mon Sep 17 00:00:00 2001 From: Cody Olsen Date: Tue, 14 Nov 2023 16:35:33 +0100 Subject: [PATCH] chore: hide debug box if there are no links --- dev/test-studio/schema/debug/components/DebugStega.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/dev/test-studio/schema/debug/components/DebugStega.tsx b/dev/test-studio/schema/debug/components/DebugStega.tsx index b7d3c0839328..51c3602cc0e5 100644 --- a/dev/test-studio/schema/debug/components/DebugStega.tsx +++ b/dev/test-studio/schema/debug/components/DebugStega.tsx @@ -112,6 +112,7 @@ function InputDebugger(props: InputProps) { () => vercelStegaDecodeAll(JSON.stringify(stegaResult)), [stegaResult], ) + if (!stegaEditLinks || stegaEditLinks.length < 1) return null return (