Fix equals sign typo
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
392ff923ed
commit
9574952d15
|
@ -271,7 +271,7 @@ function getRandomColour(): "blue" | "teal" {
|
||||||
}
|
}
|
||||||
|
|
||||||
function getRandomOpacity(colour: "blue" | "teal"): number {
|
function getRandomOpacity(colour: "blue" | "teal"): number {
|
||||||
if (colour == "blue") {
|
if (colour === "blue") {
|
||||||
return Math.random() < 0.8 ? 20 : 25;
|
return Math.random() < 0.8 ? 20 : 25;
|
||||||
} else {
|
} else {
|
||||||
return Math.random() < 0.8 ? 25 : 30;
|
return Math.random() < 0.8 ? 25 : 30;
|
||||||
|
|
Loading…
Reference in New Issue