Skip to content

Commit

Permalink
Fixed typo in SectionRow
Browse files Browse the repository at this point in the history
The tooltip for collapsing and showing sections in ArgsTags says "Hide [Section Name]" when visible, and "Side [Section Name]" when hidden. Fixed.
  • Loading branch information
symmetriq committed Feb 3, 2022
1 parent 8949024 commit 75ce4c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/components/src/blocks/ArgsTable/SectionRow.tsx
Expand Up @@ -100,7 +100,7 @@ export const SectionRow: FC<SectionRowProps> = ({
const caption = level === 'subsection' ? `${itemCount} item${itemCount !== 1 ? 's' : ''}` : '';
const icon = expanded ? 'arrowdown' : 'arrowright';

const helperText = `${expanded ? 'Hide' : 'Side'} ${
const helperText = `${expanded ? 'Hide' : 'Show'} ${
level === 'subsection' ? itemCount : label
} item${itemCount !== 1 ? 's' : ''}`;

Expand Down

0 comments on commit 75ce4c1

Please sign in to comment.