mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-05-01 22:01:49 +01:00
Upgrade Prettier
This commit is contained in:
committed by
Scott Nonnenberg
parent
d14c8e2277
commit
0d3b390129
@@ -17,7 +17,7 @@ export function getTimerBucket(expiration: number, length: number): string {
|
||||
return '60';
|
||||
}
|
||||
|
||||
const bucket = Math.round(delta / length * 12);
|
||||
const bucket = Math.round((delta / length) * 12);
|
||||
|
||||
return padStart(String(bucket * 5), 2, '0');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user