Fixed improper dropdown func binding for #293 + toot button spacing

signup-info-prompt
kibigo! 2018-01-05 21:02:53 -08:00
parent ad10a80a99
commit 6932b464e6
2 changed files with 2 additions and 1 deletions

View File

@ -137,7 +137,7 @@ export default class Dropdown extends React.PureComponent {
(item, i) => item ? { (item, i) => item ? {
...item, ...item,
name: `${item.text}-${i}`, name: `${item.text}-${i}`,
onClick: this.handleItemClick.bind(i), onClick: this.handleItemClick.bind(this, i),
} : null } : null
), ),
}); });

View File

@ -85,6 +85,7 @@ export default function ComposerPublisher ({
unlisted: 'unlock-alt', unlisted: 'unlock-alt',
}[privacy]} }[privacy]}
/> />
{' '}
<FormattedMessage {...messages.publish} /> <FormattedMessage {...messages.publish} />
</span> </span>
); );