1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-15 10:46:32 +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 * @param (Function) handleClickTagButton
*/ */
const TagListItem = (({name, handleClickTagButton}) => { const TagListItem = ({name, handleClickTagButton}) => {
return ( return (
<button styleName='tagList-item' onClick={(e) => handleClickTagButton(e, name)}> <button styleName='tagList-item' onClick={(e) => handleClickTagButton(e, name)}>
<span styleName='tagList-item-name'> <span styleName='tagList-item-name'>
@@ -18,7 +18,7 @@ const TagListItem = (({name, handleClickTagButton}) => {
</span> </span>
</button> </button>
) )
}) }
export default CSSModules(TagListItem, styles) export default CSSModules(TagListItem, styles)