component-story-with-query was adjusted.

Now is using a template
This commit is contained in:
jonniebigodes 2020-08-11 03:57:14 +01:00
parent bc293cd7c7
commit d8180f0ec7

View File

@ -3,7 +3,9 @@
import MyComponentThatHasAQuery, { MyQuery} from '../component-that-has-a-query';
export const LoggedOut = () => <MyComponentThatHasAQuery />;
const Template=(args)=><MyComponentThatHasAQuery {...args}/>;
export const LoggedOut = () => Template.bind({});
LoggedOut.parameters: {
apolloClient: {
mocks: [