I have this in my jsx, # is used to stop the link if user click on the a tag.
<a target={obj.handlerName === 'detail' ? `_blank` : ''} href={obj.handlerName === 'detail' ? `/products/${id}` : '#'} >{obj.name}</a>
but I will have the extra #
if the handlerName is not equal to 'detail'
Any clue how to get rid of that?