From c5b1fdbe0e632caeabef7c066b853b33753d86a1 Mon Sep 17 00:00:00 2001 From: Chase Manning <chase@manning.dev> Date: Wed, 29 Nov 2023 13:22:41 +0000 Subject: [PATCH] :bug: evolution not overlaying menu --- src/components/Evolution.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/components/Evolution.tsx b/src/components/Evolution.tsx index 225d77b..a115079 100644 --- a/src/components/Evolution.tsx +++ b/src/components/Evolution.tsx @@ -16,6 +16,7 @@ const StyledEvolution = styled.div` width: 100%; height: 100%; background: var(--bg); + z-index: 200; height: 80%; @media (max-width: 1000px) { @@ -252,6 +253,9 @@ const Evolution = () => { const evolvesMetadata = usePokemonMetadata(evolution?.evolveToId || null); const show = evolution !== null; + console.log("show", show); + console.log(evolution); + const [evolved, setEvolved] = useState(false); useEvent(Event.A, () => {