Skip to content

Commit 85bb36f

Browse files
committed
chore: prettier
1 parent 8b495b7 commit 85bb36f

File tree

4 files changed

+25
-25
lines changed

4 files changed

+25
-25
lines changed

resources/nanoo-tools-account-generator.html

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!DOCTYPE html>
1+
<!doctype html>
22
<head>
33
<title> </title>
44
<style>
@@ -745,19 +745,19 @@
745745
128 > l
746746
? n.push(l)
747747
: 2048 > l
748-
? n.push(192 | (l >> 6), 128 | (63 & l))
749-
: 65536 > l
750-
? n.push(
751-
224 | (l >> 12),
752-
128 | ((l >> 6) & 63),
753-
128 | (63 & l)
754-
)
755-
: n.push(
756-
240 | (l >> 18),
757-
128 | ((l >> 12) & 63),
758-
128 | ((l >> 6) & 63),
759-
128 | (63 & l)
760-
)
748+
? n.push(192 | (l >> 6), 128 | (63 & l))
749+
: 65536 > l
750+
? n.push(
751+
224 | (l >> 12),
752+
128 | ((l >> 6) & 63),
753+
128 | (63 & l)
754+
)
755+
: n.push(
756+
240 | (l >> 18),
757+
128 | ((l >> 12) & 63),
758+
128 | ((l >> 6) & 63),
759+
128 | (63 & l)
760+
)
761761
}
762762
return n
763763
}

src/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!DOCTYPE html>
1+
<!doctype html>
22
<html lang="en">
33
<head>
44
<!-- The first thing in any HTML file should be the charset -->

src/views/components/representative-telemetry/representative-telemetry.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ export default class RepresentativeTelemetry extends React.Component {
1212
const bandwidthValue = bandwidth
1313
? `${(bandwidth / (1024 * 1024)).toFixed(1)}Mb`
1414
: typeof bandwidth !== 'undefined'
15-
? 'Unlimited'
16-
: '-'
15+
? 'Unlimited'
16+
: '-'
1717

1818
const blockCount = account.getIn(['telemetry', 'block_count'], 0)
1919
const blockBehind = account.getIn(['telemetry', 'block_behind'], 0)

src/views/components/representative-uptime/representative-uptime.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ export default function RepresentativeUptime({ account }) {
2323
last_60_pct > 95
2424
? 'online'
2525
: last_60_pct < 70
26-
? 'offline'
27-
: last_60_pct < 80
28-
? 'warning'
29-
: ''
26+
? 'offline'
27+
: last_60_pct < 80
28+
? 'warning'
29+
: ''
3030

3131
const last_90 = account.getIn(['uptime_summary', 'days_90'], {})
3232
const last_90_pct =
@@ -72,10 +72,10 @@ export default function RepresentativeUptime({ account }) {
7272
uptime_pct > 90
7373
? 'online'
7474
: uptime_pct < 50
75-
? 'offline'
76-
: uptime_pct < 75
77-
? 'warning'
78-
: ''
75+
? 'offline'
76+
: uptime_pct < 75
77+
? 'warning'
78+
: ''
7979
}
8080
return (
8181
<div className='representative__section representative__uptime'>

0 commit comments

Comments
 (0)