mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-14 00:08:46 +00:00
Fixed improper dropdown func binding for #293 + toot button spacing
This commit is contained in:
@@ -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
|
||||
),
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user