Skip to content

Commit

Permalink
Merge pull request #339 from valory-xyz/fix/missing-agent-safe-in-debug
Browse files Browse the repository at this point in the history
fix: redisplay missing agent safe info in debug window
  • Loading branch information
truemiller authored Sep 11, 2024
2 parents ad975fb + 3ecfea0 commit ee8d5f1
Showing 1 changed file with 9 additions and 15 deletions.
24 changes: 9 additions & 15 deletions frontend/components/SettingsPage/DebugInfoSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -175,25 +175,19 @@ export const DebugInfoSection = () => {
?.instances?.[0];
if (instanceAddress) {
result.push({
title: 'Agent instance',
title: 'Agent Instance EOA',
...getItemData(walletBalances, instanceAddress!),
});
}

// COMMENTED UNTIL PANDORA UPDATES GRAPH ENDPOINT 5/9
//
// const multisigAddress =
// services[0]?.chain_configs?.[CHAINS.GNOSIS.chainId]?.chain_data?.multisig;
// if (multisigAddress) {
// result.push({
// title: 'Agent Safe',
// ...getItemData(walletBalances, multisigAddress),
// link: {
// title: 'See agent activity on Pandora',
// href: `https://pandora.computer/predict/${multisigAddress}`,
// },
// });
// }
const multisigAddress =
services[0]?.chain_configs?.[CHAINS.GNOSIS.chainId]?.chain_data?.multisig;
if (multisigAddress) {
result.push({
title: 'Agent Safe',
...getItemData(walletBalances, multisigAddress),
});
}

return result;
}, [
Expand Down

0 comments on commit ee8d5f1

Please sign in to comment.