Skip to content

Commit

Permalink
eslint
Browse files Browse the repository at this point in the history
Signed-off-by: Gavin Reynolds <[email protected]>
  • Loading branch information
gsreynolds committed Nov 20, 2023
1 parent 5fc140c commit a906eab
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
13 changes: 8 additions & 5 deletions src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -206,11 +206,14 @@ const App = () => {

// Setup log entry clearing
useEffect(() => {
const clearingInterval = setInterval(() => {
if (userAuthorized) {
cleanRecentLogEntriesAsync();
}
}, 60 * 60 * 1000);
const clearingInterval = setInterval(
() => {
if (userAuthorized) {
cleanRecentLogEntriesAsync();
}
},
60 * 60 * 1000,
);
return () => clearInterval(clearingInterval);
}, [userAuthorized]);

Expand Down
2 changes: 1 addition & 1 deletion src/components/NavigationBar/subcomponents/Beacon.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ const mapStringToSpeed = (speed) => ({
normal: '1500ms',
fast: '800ms',
slow: '2300ms',
}[speed] || '1500ms');
})[speed] || '1500ms';

const mapPropToSpeed = (speed) => {
if (typeof speed === 'number') {
Expand Down
4 changes: 1 addition & 3 deletions src/redux/incidents/sagas.js
Original file line number Diff line number Diff line change
Expand Up @@ -421,9 +421,7 @@ export function* filterIncidentsImpl() {
} = yield select(selectIncidentTable);
const {
searchAllCustomDetails, respondersInEpFilter, fuzzySearch,
} = yield select(
selectSettings,
);
} = yield select(selectSettings);

let filteredIncidentsByQuery = [...incidents];

Expand Down

0 comments on commit a906eab

Please sign in to comment.