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

insert necessary space

This commit is contained in:
Sosuke Suzuki
2017-10-10 00:35:54 +09:00
parent ff4b96b622
commit 35beec3e39

View File

@@ -12,7 +12,7 @@ import CSSModules from 'browser/lib/CSSModules'
*/
const TagListItem = ({name, handleClickTagListItem, isActive}) => (
<button styleName={isActive? 'tagList-item-active' : 'tagList-item'} onClick={() => handleClickTagListItem(name)}>
<button styleName={isActive ? 'tagList-item-active' : 'tagList-item'} onClick={() => handleClickTagListItem(name)}>
<span styleName='tagList-item-name'>
{`# ${name}`}
</span>