fix deleting topics from AddNotebookDialog

This commit is contained in:
ammarahm-ed
2020-10-17 14:08:27 +05:00
parent 41c8a83670
commit f490e04fd2
2 changed files with 12 additions and 4 deletions

View File

@@ -181,9 +181,8 @@ const SimpleList = ({
return <ListHeaderComponent type={dataType} data={listData}/>;
case 'header':
return <RenderSectionHeader item={data}/>;
default:
return null;
return <RenderItem item={data} index={index}/>;
}
};