use the classnames library rather than ternary.
Details
Details
Make sure active class still renders.
Diff Detail
Diff Detail
- Repository
- rCOMM Comm
- Branch
- master
- Lint
No Lint Coverage - Unit
No Test Coverage
Event Timeline
web/chat/chat-thread-list-sidebar.react.js | ||
---|---|---|
23–27 | Personally, this just looks icky to me. I would pull out the property declaration into a separate line in front of the JSX. The fact that it doesn't change the indentation level of the enclosed block makes it more okay though |