WIP <Compose> Refactor; 1000 tiny edits

This commit is contained in:
kibigo!
2018-01-03 12:36:21 -08:00
parent b4a3792201
commit 42f50049ff
32 changed files with 873 additions and 795 deletions

View File

@ -134,11 +134,12 @@ export default class Dropdown extends React.PureComponent {
this.props.onModalOpen({
status,
actions: items.map(
(item, i) => ({
(item, i) => item ? {
...item,
name: `${item.text}-${i}`,
onClick: this.handleItemClick.bind(i),
}),
} : null
),
});
return;