More compact classNames

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Šimon Brandner 2021-07-13 09:27:22 +02:00
parent 0bf595d8d4
commit b1fb089816
No known key found for this signature in database
GPG key ID: 9760693FDD98A790

View file

@ -108,8 +108,7 @@ export default class ReplyTile extends React.PureComponent<IProps> {
const EventTileType = sdk.getComponent(tileHandler);
const classes = classNames({
mx_ReplyTile: true,
const classes = classNames("mx_ReplyTile", {
mx_ReplyTile_info: isInfoMessage,
});