henkaku-center / henkaku-nengajo-frontend

https://nengajo.henkaku.org/
8 stars 14 forks source link

Upload wagmi to 0.8 #12

Closed alecrem closed 1 year ago

alecrem commented 1 year ago

Currently: "wagmi": "^0.7.7"

Discussion continues from @dueyama's #11

I found that https://wagmi.sh/docs/hooks/useBalance says that the parameter should be "address", but correct one is "addressOrName" :) This is because wagmi version is in our project is v.0.7 and the newest one is v.0.8. (https://wagmi.sh/docs/migration-guide#usebalance) So, we have to access old doc. https://0.7.x.wagmi.sh/docs/hooks/useBalance

The codebase is small and I think it should be good to update to 0.8 at this point.

(I don't think @yuwa2020 chose to use 0.7 over 0.8, because 0.8 was only released a few days ago.)

alecrem commented 1 year ago

Closed by #13