= ({
'title,subtitle,toolbar' +
(storyId ? ',description,canvas-border,code' : ''),
)
- url.searchParams.set('globalControls', 'true')
+ url.searchParams.set(
+ 'globalControls',
+ globalControls && globalControls.length
+ ? globalControls.join(',')
+ : 'false',
+ )
return url.toString()
- }, [docId, storyId, globalProps, props])
+ }, [docId, storyId, globalProps, globalControls, props])
return (
diff --git a/static/TypographyWebEnvironment.png b/static/TypographyWebEnvironment.png
deleted file mode 100644
index b8cb3e9..0000000
Binary files a/static/TypographyWebEnvironment.png and /dev/null differ