Skip to content

Commit 2339b6f

Browse files
authored
Merge branch 'develop' into feature/implementiere-ticket-#8000-v3
2 parents 512ef5a + 700b0e6 commit 2339b6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/samples/react/src/components/Sidebar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export const Sidebar: FC<Props> = ({ version, theme, routes, routeList, sample,
5353
const formatSampleAsLabel = () => sample.replace(/\//g, ' ');
5454

5555
const handleThemeSelectChange = (_event: Event, value: unknown) => {
56-
onThemeChange((value as [string])[0]);
56+
onThemeChange(value as string);
5757
};
5858

5959
const handlePreviousClick = () => {

0 commit comments

Comments
 (0)