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