diff --git a/src/ui_kit/Sidebar/Sidebar.tsx b/src/ui_kit/Sidebar/Sidebar.tsx index 188087cc..b8a82d64 100755 --- a/src/ui_kit/Sidebar/Sidebar.tsx +++ b/src/ui_kit/Sidebar/Sidebar.tsx @@ -86,7 +86,7 @@ export default function Sidebar({ changePage, disableCollapse }: SidebarProps) { color: theme.palette.grey2.main, }} > - {`Создание ${quiz.config.type}`} + {`Создание ${quiz.config.type ?? ""}`} )} {!disableCollapse && ( @@ -144,7 +144,7 @@ export default function Sidebar({ changePage, disableCollapse }: SidebarProps) { color: theme.palette.grey2.main, }} > - {`Настройки ${quiz.config.type}`} + {`Настройки ${quiz.config.type ?? ""}`} )}