Skip to content

Commit

Permalink
ArgsTable: Remove the "simple" detection added in storybookjs#11868
Browse files Browse the repository at this point in the history
  • Loading branch information
phated committed Sep 26, 2020
1 parent 8366468 commit 600be47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/components/src/blocks/ArgsTable/ArgValue.tsx
Expand Up @@ -141,7 +141,7 @@ const ArgSummary: FC<ArgSummaryProps> = ({ value, initialExpandedArgs }) => {
const cannotBeSafelySplitted = /[(){}[\]<>]/.test(summaryAsString);

if (cannotBeSafelySplitted) {
return <ArgText text={summaryAsString} simple={summaryAsString.includes('|')} />;
return <ArgText text={summaryAsString} />;
}

const summaryItems = getSummaryItems(summaryAsString);
Expand Down

0 comments on commit 600be47

Please sign in to comment.