diff --git a/.all-contributorsrc b/.all-contributorsrc index 2d4851892..79bbae15f 100644 --- a/.all-contributorsrc +++ b/.all-contributorsrc @@ -76,6 +76,15 @@ "contributions": [ "code" ] + }, + { + "login": "vanshita-tilwani", + "name": "Vanshita Tilwani", + "avatar_url": "https://avatars.githubusercontent.com/u/15342805?v=4", + "profile": "https://github.com/vanshita-tilwani", + "contributions": [ + "code" + ] } ], "contributorsPerLine": 7, @@ -85,4 +94,4 @@ "repoHost": "https://github.com", "skipCi": true, "commitConvention": "angular" -} +} \ No newline at end of file diff --git a/src/components/timeline/timeline-popover-elements.tsx b/src/components/timeline/timeline-popover-elements.tsx index 385fb0d79..d2ef0b334 100644 --- a/src/components/timeline/timeline-popover-elements.tsx +++ b/src/components/timeline/timeline-popover-elements.tsx @@ -128,7 +128,7 @@ const QuickJump: FunctionComponent = ({ description: item.description, id: item.id, label: item.title, - onSelect: () => {}, + onSelect: () => { }, title: item.title || `Item ${index + 1}`, }))} theme={theme} @@ -151,18 +151,18 @@ const ChangeDensity: FunctionComponent = ({ const items = useMemo( () => [ { - description: 'Show less text', + description: buttonTexts.changeDensityOptions.low.helpText, id: 'LOW', onSelect: () => onChange('LOW'), selected: selectedDensity === 'LOW', - title: 'Low', + title: buttonTexts.changeDensityOptions.low.text, }, { - description: 'Show more text', + description: buttonTexts.changeDensityOptions.high.helpText, id: 'HIGH', onSelect: () => onChange('HIGH'), selected: selectedDensity === 'HIGH', - title: 'High', + title: buttonTexts.changeDensityOptions.high.text, }, ], [selectedDensity],