Fix singlequotes eslint warnings

This commit is contained in:
Shreya 2021-04-12 16:23:09 +05:30
parent e0a40626be
commit 508c562243
2 changed files with 3 additions and 3 deletions

View File

@ -27,7 +27,7 @@ function RunOptions(props) {
.then(res => { .then(res => {
let commandServers = res.configuration.internal.island_server.command_servers; let commandServers = res.configuration.internal.island_server.command_servers;
let ipAddresses = commandServers.map(ip => { let ipAddresses = commandServers.map(ip => {
return ip.split(":", 1); return ip.split(':', 1);
}); });
setIps(ipAddresses); setIps(ipAddresses);
setInitialized(true); setInitialized(true);

View File

@ -3,11 +3,11 @@ import CollapsibleWellComponent from '../CollapsibleWell';
import {generateInfoBadges} from './utils'; import {generateInfoBadges} from './utils';
export function sharedPasswordsIssueOverview() { export function sharedPasswordsIssueOverview() {
return (<li key={"shared_passwords"}>Multiple users have the same password</li>) return (<li key={'shared_passwords'}>Multiple users have the same password</li>)
} }
export function sharedAdminsDomainIssueOverview() { export function sharedAdminsDomainIssueOverview() {
return (<li key={"admin_domains"}>Shared local administrator account - Different machines have the same account as a local return (<li key={'admin_domains'}>Shared local administrator account - Different machines have the same account as a local
administrator.</li>) administrator.</li>)
} }