mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-11 16:05:44 +01:00
fix tests
This commit is contained in:
@@ -35,7 +35,7 @@ const Wrapper = styled.div`
|
||||
|
||||
storiesOf("Popover", module)
|
||||
.addDecorator(storyFn => <Wrapper>{storyFn()}</Wrapper>)
|
||||
.add("Default", () => {
|
||||
.add("Default", () => React.createElement(() => {
|
||||
const { triggerProps, popoverProps } = usePopover();
|
||||
|
||||
return (
|
||||
@@ -52,8 +52,8 @@ storiesOf("Popover", module)
|
||||
</button>
|
||||
</div>
|
||||
);
|
||||
})
|
||||
.add("Link", () => {
|
||||
}))
|
||||
.add("Link", () => React.createElement(() => {
|
||||
const { triggerProps, popoverProps } = usePopover();
|
||||
|
||||
return (
|
||||
@@ -70,4 +70,4 @@ storiesOf("Popover", module)
|
||||
</a>
|
||||
</div>
|
||||
);
|
||||
});
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user