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

th-downstream
kibigo! 7 years ago
parent 77cb2d04f9
commit 85ffb07656

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

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

Loading…
Cancel
Save