mirror of
https://github.com/He4eT/elseifplayer.git
synced 2026-05-05 01:17:22 +00:00
eslint: add braces rule
This commit is contained in:
parent
e0a90005e6
commit
500b156968
5 changed files with 9 additions and 5 deletions
|
|
@ -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'
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue