mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-15 10:46:32 +00:00
remove extra parens
This commit is contained in:
@@ -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)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user