Fix equals sign typo
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Amy 2021-08-26 23:14:04 -04:00
parent 392ff923ed
commit 9574952d15
1 changed files with 1 additions and 1 deletions

View File

@ -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;