mirror of
https://github.com/chase-manning/pokemon-js.git
synced 2025-08-06 02:49:12 +00:00
🐛 evolution not overlaying menu
This commit is contained in:
parent
9676070f78
commit
c5b1fdbe0e
1 changed files with 4 additions and 0 deletions
|
@ -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, () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue