Skip to content

Commit

Permalink
docs: disable show code button (#119)
Browse files Browse the repository at this point in the history
It crashes the page, as some theme variables are not usable.
It was not usable anyway, as it displayed processed storybook code, not practically usable.
  • Loading branch information
MiroslavPetrik committed Mar 9, 2024
1 parent 37031e6 commit 587ec5b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .storybook/preview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ export default {
},
},
docs: {
canvas: {
sourceState: "none",
},
theme: darkTheme,
container: PicoContainer,
components: {
Expand Down

0 comments on commit 587ec5b

Please sign in to comment.