Skip to content

Commit

Permalink
Update address
Browse files Browse the repository at this point in the history
  • Loading branch information
Igor Stadnyk committed Jul 14, 2024
1 parent 2ecd0b2 commit b7cc6bb
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions frontend/app/backups/page.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ import useUniversalAccountInfo from '@/hooks/useUniversalAccountInfo';
// });

// const moduleAddress = '0xbDa1dE70eAE1A18BbfdCaE95B42b5Ff6d3352492';
const ownerAddress = '0xED9586AD3a6A512ce5c2d0C6a5bf8972c00137e2';
// const ownerAddress = '0xED9586AD3a6A512ce5c2d0C6a5bf8972c00137e2';

// const getBackupsAbi = [
// {
Expand Down Expand Up @@ -94,9 +94,8 @@ export default function BackUpsPage() {

useEffect(() => {
console.log('ADDRESS', address);
// ! delete !
if (!address) {
getBackups(ownerAddress)
if (address) {
getBackups(address)
.then((backups) => {
setBackupsList(backups);
console.log('Backups:', backups);
Expand Down

0 comments on commit b7cc6bb

Please sign in to comment.