diff --git a/components/ShapesBackground.tsx b/components/ShapesBackground.tsx index 698cff97..a34a0316 100644 --- a/components/ShapesBackground.tsx +++ b/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;