use the classnames library rather than ternary.
Details
Details
Make sure active class still renders.
Diff Detail
Diff Detail
- Repository
- rCOMM Comm
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
web/chat/chat-thread-list-sidebar.react.js | ||
---|---|---|
23–27 ↗ | (On Diff #9353) | 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 |