Agoric / ui-kit

Components and tools for building graphical UIs
https://ui-kit-dwm.pages.dev/
Apache License 2.0
3 stars 3 forks source link

feat(react-components)!: rework network dropdown and network config #109

Closed samsiegart closed 2 months ago

samsiegart commented 2 months ago

fixes https://github.com/Agoric/ui-kit/issues/96

Overview

Removes the defaultNetworkConfig prop from AgoricProvider in favor of:

Now, instead of passing in networkConfigs to the network dropdown component, it just reads from agoricNetworkConfigs.

Testing

Built successfully and linked locally with dapp-offer-up, tested the new API and switching between multiple networks.

cloudflare-pages[bot] commented 2 months ago

Deploying ui-kit with  Cloudflare Pages  Cloudflare Pages

Latest commit: 5079d09
Status: ✅  Deploy successful!
Preview URL: https://29ead54a.ui-kit-dwm.pages.dev
Branch Preview URL: https://network-config-api.ui-kit-dwm.pages.dev

View logs