Skip to content

Commit 430ec53

Browse files
author
Peter Bengtsson
authored
Use ActionList.GroupHeading instead of title prop (#50754)
1 parent f943c2a commit 430ec53

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/languages/components/LanguagePicker.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,10 @@ export const LanguagePicker = ({ xs, mediumOrLower }: Props) => {
9898
</>
9999
) : mediumOrLower ? (
100100
<ActionList className="hide-sm" selectionVariant="single">
101-
<ActionList.Group title={t('language_picker_label')}>{languageList}</ActionList.Group>
101+
<ActionList.Group>
102+
<ActionList.GroupHeading>{t('language_picker_label')}</ActionList.GroupHeading>
103+
{languageList}
104+
</ActionList.Group>
102105
</ActionList>
103106
) : (
104107
<ActionMenu>

0 commit comments

Comments
 (0)