diff options
author | Yamagishi Kazutoshi <ykzts@desire.sh> | 2017-06-06 10:56:36 +0900 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2017-06-06 03:56:36 +0200 |
commit | 7a7bfa5170605710fb2506ad714b134c9e45206f (patch) | |
tree | 4e15099f433ed0bbf9b921328bf50854ee2a441a /app/javascript/mastodon/components/dropdown_menu.js | |
parent | e969c7864529900ebb106769883000cbe8752ec9 (diff) |
Add quotes ESLint rules (#3602)
* Add quotes ESLint rule * Add jsx-quotes ESlint rule * Sort ESLint rules
Diffstat (limited to 'app/javascript/mastodon/components/dropdown_menu.js')
-rw-r--r-- | app/javascript/mastodon/components/dropdown_menu.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/javascript/mastodon/components/dropdown_menu.js b/app/javascript/mastodon/components/dropdown_menu.js index 4fe4db313..e637c5f79 100644 --- a/app/javascript/mastodon/components/dropdown_menu.js +++ b/app/javascript/mastodon/components/dropdown_menu.js @@ -17,7 +17,7 @@ class DropdownMenu extends React.PureComponent { }; static defaultProps = { - ariaLabel: "Menu", + ariaLabel: 'Menu', }; state = { @@ -70,7 +70,7 @@ class DropdownMenu extends React.PureComponent { render () { const { icon, items, size, direction, ariaLabel } = this.props; const { expanded } = this.state; - const directionClass = (direction === "left") ? "dropdown__left" : "dropdown__right"; + const directionClass = (direction === 'left') ? 'dropdown__left' : 'dropdown__right'; const dropdownItems = expanded && ( <ul className='dropdown__content-list'> |