Fix equals sign typo

pull/164/head
Amy 2 years ago
parent 392ff923ed
commit 9574952d15
  1. 2
      components/ShapesBackground.tsx

@ -271,7 +271,7 @@ function getRandomColour(): "blue" | "teal" {
}
function getRandomOpacity(colour: "blue" | "teal"): number {
if (colour == "blue") {
if (colour === "blue") {
return Math.random() < 0.8 ? 20 : 25;
} else {
return Math.random() < 0.8 ? 25 : 30;

Loading…
Cancel
Save