Lucas/t 223 i can add comments to companies or people using the right (#181)
* wip * Implemented comment input text component * Improved behavior
This commit is contained in:
@ -2,7 +2,8 @@ import type { Meta, StoryObj } from '@storybook/react';
|
||||
|
||||
import Companies from '../Companies';
|
||||
|
||||
import { render, mocks } from './shared';
|
||||
import { getRenderWrapperForPage } from '../../../testing/renderWrappers';
|
||||
import { graphqlMocks } from '../../../testing/graphqlMocks';
|
||||
|
||||
const meta: Meta<typeof Companies> = {
|
||||
title: 'Pages/Companies',
|
||||
@ -14,8 +15,8 @@ export default meta;
|
||||
export type Story = StoryObj<typeof Companies>;
|
||||
|
||||
export const Default: Story = {
|
||||
render,
|
||||
render: getRenderWrapperForPage(<Companies />),
|
||||
parameters: {
|
||||
msw: mocks,
|
||||
msw: graphqlMocks,
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user