fix: avoid creating a new WC connector on page reload (when already connected)
Fixes https://github.com/rainbow-me/rainbowkit/issues/2232
Uses localStorage to know if there is an existing Wallet Connect connection after reloading the page.
If yes, it avoids creating a new Wallet Connect connector ({ ...config, showQrModal: false }) which was leading to broken connection (with Error: No matching key. history: <number> error.).
The bug could be reproduced in the linked issue or in the the default rainbowkit example (Running pnpm run dev and following the reproduction steps in the linked issue).
@agualis is attempting to deploy a commit to the rainbowdotme Team on Vercel.
A member of the Team first needs to authorize it.
lgtm