diff options
Diffstat (limited to 'modern')
-rw-r--r-- | modern/.eslintrc.js | 1 | ||||
-rw-r--r-- | modern/src/DevicesList.js | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/modern/.eslintrc.js b/modern/.eslintrc.js index ace20277..ec948e57 100644 --- a/modern/.eslintrc.js +++ b/modern/.eslintrc.js @@ -13,6 +13,7 @@ module.exports = { 'no-return-assign': [0], 'no-param-reassign': [0], 'no-prototype-builtins': [0], + 'no-nested-ternary': [0], 'react/jsx-filename-extension': [1, { extensions: ['.js'] }], 'react/prop-types': [0], 'react/jsx-props-no-spreading': [0], diff --git a/modern/src/DevicesList.js b/modern/src/DevicesList.js index 534e3a86..cdb2a040 100644 --- a/modern/src/DevicesList.js +++ b/modern/src/DevicesList.js @@ -1,6 +1,7 @@ import React, { useEffect, useRef, useState } from 'react'; import { useDispatch, useSelector } from 'react-redux'; import { makeStyles } from '@material-ui/core/styles'; +import { IconButton, Tooltip } from '@material-ui/core'; import Avatar from '@material-ui/core/Avatar'; import List from '@material-ui/core/List'; import ListItem from '@material-ui/core/ListItem'; @@ -24,7 +25,6 @@ import EditCollectionView from './EditCollectionView'; import { useEffectAsync } from './reactHelper'; import { formatBoolean, formatPercentage, getStatusColor } from './common/formatter'; import { useTranslation } from './LocalizationProvider'; -import { IconButton, Tooltip } from '@material-ui/core'; import { prefixString } from './common/stringUtils'; const useStyles = makeStyles((theme) => ({ |