1
나는JSX 스 니펫에서 "예기치 않은 토큰"이 나타나는 이유는 무엇입니까?
return (
<p>Sort by:
<a onClick={this.toggleMenuVisibility}>
{selectedFilterText} <Chicon className='bubble-trigger-icon' name='downarrow' />
</a>
</p>
{ menuIsVisible && this.getMenuItems(productAttributes) }
);
을 가지고 { menuIsVisible
에서 브래킷을 가리키는 매우 undescriptive
"예기치 않은 토큰"
을 얻고있다. 문제가 뭔지 아십니까?