1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 01:36:22 +00:00

remove extra parens

This commit is contained in:
Sosuke Suzuki
2017-09-30 18:32:18 +09:00
parent 852617726c
commit bf9ecb02e5

View File

@@ -10,7 +10,7 @@ import CSSModules from 'browser/lib/CSSModules'
* @param (Function) handleClickTagButton
*/
const TagListItem = (({name, handleClickTagButton}) => {
const TagListItem = ({name, handleClickTagButton}) => {
return (
<button styleName='tagList-item' onClick={(e) => handleClickTagButton(e, name)}>
<span styleName='tagList-item-name'>
@@ -18,7 +18,7 @@ const TagListItem = (({name, handleClickTagButton}) => {
</span>
</button>
)
})
}
export default CSSModules(TagListItem, styles)