eslint: add braces rule

This commit is contained in:
He4eT 2023-06-05 00:51:41 +03:00 committed by Alexey
commit 500b156968
5 changed files with 9 additions and 5 deletions

View file

@ -52,10 +52,10 @@ export default function GridBuffer ({ inbox, currentWindow }) {
const isEmpty =
rawMessagesContent
.map(({text}) => text.length)
.map(({ text }) => text.length)
.every((l) => l === 0)
const getGridStyle = ({style}) => {
const getGridStyle = ({ style }) => {
if (['alert', 'normal'].includes(style)) return 'grid'
return style || 'grid'
}