From b0a5f2141f57b903472338164e402e98cab3b56d Mon Sep 17 00:00:00 2001 From: Remi REGNAULT Date: Tue, 28 Nov 2023 16:28:12 +0100 Subject: [PATCH] resolving code smells --- LeftOvers/screens/HomePage.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LeftOvers/screens/HomePage.tsx b/LeftOvers/screens/HomePage.tsx index 415971f..60c0ba0 100644 --- a/LeftOvers/screens/HomePage.tsx +++ b/LeftOvers/screens/HomePage.tsx @@ -13,7 +13,7 @@ import bracketRight from '../assets/images/angle_bracket_right.png'; export default function HomePage({ navigation, props }) { - const {colors, toggleColors} = useContext(ColorContext); + const colors = useContext(ColorContext).colors const profiles = [ {name: "Johnny Silverhand", avatar: "plus_small.png", isActive: "flex"},