Skip to content

Commit

Permalink
Fix broken link to repo in empty knobs panel
Browse files Browse the repository at this point in the history
The link to repo in empty knobs panel couldn't be triggered. The problem was with missing `cancel={false}` prop, because `Link` component has a `cancel={true}` by default.
  • Loading branch information
fireseasonnow authored Jan 18, 2020
1 parent 4a5508d commit 20eee2f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions addons/knobs/src/components/Panel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,7 @@ export default class KnobPanel extends PureComponent<KnobPanelProps> {
href="https://github.com/storybookjs/storybook/tree/master/addons/knobs"
target="_blank"
withArrow
cancel={false}
>
dynamically interact with components
</Link>
Expand Down

0 comments on commit 20eee2f

Please sign in to comment.