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 = () => {
11
11
return "ecosystem.catlovers" ;
12
12
}
13
13
// prod ecosystem
14
- return "ecosystem.new-age " ;
14
+ return "ecosystem.thirdweb-engs " ;
15
15
} ;
16
16
17
17
export function EcosystemConnectEmbed (
Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ export function useAdminWallet() {
11
11
const activeWallet = useActiveWallet ( ) ;
12
12
const connectedWallets = useConnectedWallets ( ) ;
13
13
const adminAccount = activeWallet ?. getAdminAccount ?.( ) ;
14
-
15
14
if ( ! adminAccount ) {
16
15
// If the active wallet doesn't have an admin account, return the active wallet
17
16
return activeWallet ;
Original file line number Diff line number Diff line change @@ -28,7 +28,8 @@ export function ManageWalletScreen(props: {
28
28
client : ThirdwebClient ;
29
29
manageWallet ?: ConnectButton_detailsModalOptions [ "manageWallet" ] ;
30
30
} ) {
31
- const activeWallet = useAdminWallet ( ) ;
31
+ const adminWallet = useAdminWallet ( ) ;
32
+ const activeWallet = useActiveWallet ( ) ;
32
33
33
34
return (
34
35
< Container
@@ -92,9 +93,9 @@ export function ManageWalletScreen(props: {
92
93
</ MenuButton >
93
94
94
95
{ /* Private Key Export (if enabled) */ }
95
- { activeWallet &&
96
- isInAppWallet ( activeWallet ) &&
97
- ! activeWallet . getConfig ( ) ?. hidePrivateKeyExport && (
96
+ { adminWallet &&
97
+ isInAppWallet ( adminWallet ) &&
98
+ ! adminWallet . getConfig ( ) ?. hidePrivateKeyExport && (
98
99
< MenuButton
99
100
onClick = { ( ) => {
100
101
props . setScreen ( "private-key" ) ;
You can’t perform that action at this time.
0 commit comments