Skip to content

Commit 2a64d24

Browse files
author
Lucas Araujo
committed
fix: add decorators default value
1 parent c1eb3d2 commit 2a64d24

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/design-system/decorators/color-schema/color-schema.decorator.tsx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,7 @@ import * as styles from './color-schema.css';
1010

1111
export const colorSchemaDecorator: DecoratorFunction<ReactFramework> = (
1212
Story,
13-
{
14-
parameters: {
15-
decorators: { layout = 'horizontal' },
16-
},
17-
},
13+
{ parameters: { decorators: { layout = 'horizontal' } = {} } },
1814
) => (
1915
<Flex
2016
className={styles.root}

0 commit comments

Comments
 (0)