Skip to content

Commit ae0a1f7

Browse files
author
Alexis
committed
fix: undefined arg value
1 parent 76aca03 commit ae0a1f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

client/common/icons.stories.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export default {
1414
}
1515
};
1616

17-
export const AllIcons = (args) => {
18-
const SelectedIcon = icons[args.variant];
17+
export const Icons = (args) => {
18+
const SelectedIcon = icons[args.variant || 'CircleInfoIcon'];
1919
return <SelectedIcon />;
2020
};

0 commit comments

Comments
 (0)