stacker.news/pages
ekzyis d9024ff837
Reinitialize wallet form if initial values change + fix readOnly hydration error (#1354)
* Reinitialize wallet form if initial values change

This fixes that enabled is not set on first render if only recv is configured

* Remove unnecessary old usage of ClientCheckbox

This isn't needed even without enableReinitialize since for send, enabled is correctly set on first render.

It was needed in the past when we were still validating wallets before enabling them on first page load but now, we simply load the configuration from localStorage which is immediately available on the client.

* Fix readOnly hydration error

* Replace repetitive isMounted logic with useIsClient hook
2024-09-03 09:15:04 -05:00
..
[name] backend payment optimism (#1195) 2024-07-01 12:02:29 -05:00
api Wallet definitions with uniform interface (#1243) 2024-07-20 17:51:46 -05:00
auth Use module path aliases (#938) 2024-03-19 19:37:31 -05:00
invites backend payment optimism (#1195) 2024-07-01 12:02:29 -05:00
invoices Wallet definitions with uniform interface (#1243) 2024-07-20 17:51:46 -05:00
items/[id] improve UX of notifications 2024-07-11 16:59:07 -05:00
referrals fix typo 2024-07-11 11:55:19 -05:00
rewards new rewards banner 2024-07-10 19:59:05 -05:00
satistics fix clicking on p2p in satistics 2024-08-14 12:59:27 -05:00
settings Reinitialize wallet form if initial values change + fix readOnly hydration error (#1354) 2024-09-03 09:15:04 -05:00
stackers chart skeletons 2024-03-25 15:35:32 -04:00
wallet Wallet definitions with uniform interface (#1243) 2024-07-20 17:51:46 -05:00
withdrawals Show preimage of confirmed withdrawals (#1106) 2024-04-25 19:33:24 -05:00
~ Add Random link and basic query (#1306) 2024-08-20 16:50:55 -05:00
404.js upgrade to next-auth 4 (bonus: improve error pages) 2023-07-29 14:38:20 -05:00
500.js upgrade to next-auth 4 (bonus: improve error pages) 2023-07-29 14:38:20 -05:00
_app.js Wallet definitions with uniform interface (#1243) 2024-07-20 17:51:46 -05:00
_document.js enhance navigation 2024-03-26 18:36:31 -05:00
_error.js Use module path aliases (#938) 2024-03-19 19:37:31 -05:00
email.js Use module path aliases (#938) 2024-03-19 19:37:31 -05:00
live.js Use module path aliases (#938) 2024-03-19 19:37:31 -05:00
login.js add NEXT_PUBLIC_URL 2024-04-08 17:54:39 -05:00
notifications.js Use module path aliases (#938) 2024-03-19 19:37:31 -05:00
offline.js Use module path aliases (#938) 2024-03-19 19:37:31 -05:00
search.js search all territories by default + more intuitive search filters 2024-03-26 18:37:40 -05:00
share.js Service worker rework, Web Target Share API & Web Push API (#324) 2023-07-04 14:36:07 -05:00
signup.js enhance navigation 2024-03-26 18:36:31 -05:00
territory.js Use module path aliases (#938) 2024-03-19 19:37:31 -05:00