Skip to content

Commit

Permalink
chore: hide debug box if there are no links
Browse files Browse the repository at this point in the history
  • Loading branch information
stipsan committed Nov 14, 2023
1 parent 984742d commit 26b10b5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dev/test-studio/schema/debug/components/DebugStega.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ function InputDebugger(props: InputProps) {
() => vercelStegaDecodeAll(JSON.stringify(stegaResult)),
[stegaResult],
)
if (!stegaEditLinks || stegaEditLinks.length < 1) return null

return (
<Card padding={2} tone="default" border>
Expand Down

2 comments on commit 26b10b5

@vercel
Copy link

@vercel vercel bot commented on 26b10b5 Nov 14, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

performance-studio – ./

performance-studio-git-next.sanity.build
performance-studio.sanity.build

@vercel
Copy link

@vercel vercel bot commented on 26b10b5 Nov 14, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

test-studio – ./

test-studio.sanity.build
test-studio-git-next.sanity.build

Please sign in to comment.