From 20eee2fa5eeb8fc3a63034340efd57f4744f888b Mon Sep 17 00:00:00 2001 From: whitebackdoor7 <45042199+whitebackdoor7@users.noreply.github.com> Date: Sat, 18 Jan 2020 19:04:47 +0100 Subject: [PATCH] Fix broken link to repo in empty knobs panel 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. --- addons/knobs/src/components/Panel.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/knobs/src/components/Panel.tsx b/addons/knobs/src/components/Panel.tsx index e9cb4fa9ffc0..4e39bec821b1 100644 --- a/addons/knobs/src/components/Panel.tsx +++ b/addons/knobs/src/components/Panel.tsx @@ -252,6 +252,7 @@ export default class KnobPanel extends PureComponent { href="https://github.com/storybookjs/storybook/tree/master/addons/knobs" target="_blank" withArrow + cancel={false} > dynamically interact with components