left comment
This commit is contained in:
@@ -170,6 +170,7 @@
|
|||||||
<button
|
<button
|
||||||
on:click={() => {
|
on:click={() => {
|
||||||
invoke("load_json").then((d) => {
|
invoke("load_json").then((d) => {
|
||||||
|
// fix this type issue
|
||||||
pokemonDataArray = d;
|
pokemonDataArray = d;
|
||||||
pokemonData = pokemonDataArray[index];
|
pokemonData = pokemonDataArray[index];
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user