File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
apps/playground-web/src/components/in-app-wallet
packages/thirdweb/src/react
web/ui/ConnectWallet/screens Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ const getEcosystem = () => {
1111 return "ecosystem.catlovers" ;
1212 }
1313 // prod ecosystem
14- return "ecosystem.new-age " ;
14+ return "ecosystem.thirdweb-engs " ;
1515} ;
1616
1717export function EcosystemConnectEmbed (
Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ export function useAdminWallet() {
1111 const activeWallet = useActiveWallet ( ) ;
1212 const connectedWallets = useConnectedWallets ( ) ;
1313 const adminAccount = activeWallet ?. getAdminAccount ?.( ) ;
14-
1514 if ( ! adminAccount ) {
1615 // If the active wallet doesn't have an admin account, return the active wallet
1716 return activeWallet ;
Original file line number Diff line number Diff line change @@ -28,7 +28,8 @@ export function ManageWalletScreen(props: {
2828 client : ThirdwebClient ;
2929 manageWallet ?: ConnectButton_detailsModalOptions [ "manageWallet" ] ;
3030} ) {
31- const activeWallet = useAdminWallet ( ) ;
31+ const adminWallet = useAdminWallet ( ) ;
32+ const activeWallet = useActiveWallet ( ) ;
3233
3334 return (
3435 < Container
@@ -92,9 +93,9 @@ export function ManageWalletScreen(props: {
9293 </ MenuButton >
9394
9495 { /* Private Key Export (if enabled) */ }
95- { activeWallet &&
96- isInAppWallet ( activeWallet ) &&
97- ! activeWallet . getConfig ( ) ?. hidePrivateKeyExport && (
96+ { adminWallet &&
97+ isInAppWallet ( adminWallet ) &&
98+ ! adminWallet . getConfig ( ) ?. hidePrivateKeyExport && (
9899 < MenuButton
99100 onClick = { ( ) => {
100101 props . setScreen ( "private-key" ) ;
You can’t perform that action at this time.
0 commit comments