Skip to content

Commit

Permalink
remove errant getDids call
Browse files Browse the repository at this point in the history
  • Loading branch information
dkackman committed Jan 19, 2025
1 parent f045919 commit aacb25e
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/pages/NftList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import {
import { useErrors } from '@/hooks/useErrors';
import { useNftParams, NftGroupMode } from '@/hooks/useNftParams';
import collectionImage from '@/images/collection.png';
import profileImage from '@/images/profile.png';
import { t } from '@lingui/core/macro';
import { Trans } from '@lingui/react/macro';
import { EyeIcon, EyeOff, ImagePlusIcon, MoreVerticalIcon, UserIcon, Paintbrush } from 'lucide-react';
Expand Down Expand Up @@ -102,13 +101,8 @@ export function NftList() {
},
);
} else if (minterDid) {
const didResponse = await commands.getDids({});
console.log('minter DIDs response:', didResponse);
const foundDid = didResponse.dids.find(
(did) => did.launcher_id === minterDid,
);
setOwner(
foundDid || {
{
name: minterDid,
launcher_id: minterDid,
visible: true,
Expand Down

0 comments on commit aacb25e

Please sign in to comment.