chore: reformat code
This commit is contained in:
parent
3d930aa73b
commit
aedabcbdee
509 changed files with 6030 additions and 4266 deletions
|
|
@ -35,7 +35,7 @@ const Alerts = ({ onReset, onExpand, size }) => {
|
|||
const alerts = R.path(['alerts'])(data) ?? []
|
||||
const machines = R.compose(
|
||||
R.map(R.prop('name')),
|
||||
R.indexBy(R.prop('deviceId'))
|
||||
R.indexBy(R.prop('deviceId')),
|
||||
)(data?.machines ?? [])
|
||||
const alertsLength = alerts.length
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue