File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 66} from '@/bindings' ;
77import { NftGroupMode } from '@/hooks/useNftParams' ;
88import useOfferStateWithDefault from '@/hooks/useOfferStateWithDefault' ;
9- import { getMintGardenProfile } from '@/lib/marketplaces' ;
9+ // import { getMintGardenProfile } from '@/lib/marketplaces';
1010import { t } from '@lingui/core/macro' ;
1111import { Trans } from '@lingui/react/macro' ;
1212import { writeText } from '@tauri-apps/plugin-clipboard-manager' ;
@@ -81,7 +81,12 @@ export function NftGroupCard({
8181 // Fetch profile data for DID cards
8282 useEffect ( ( ) => {
8383 if ( ! isCollection && isDidRecord ( item ) ) {
84- getMintGardenProfile ( item . launcher_id ) . then ( setDidProfile ) ;
84+ setDidProfile ( {
85+ encoded_id : item . launcher_id ,
86+ name : item . name || item . launcher_id . slice ( 0 , 8 ) ,
87+ avatar_uri : null ,
88+ } ) ;
89+ //getMintGardenProfile(item.launcher_id).then(setDidProfile);
8590 }
8691 } , [ isCollection , item ] ) ;
8792 // Type guards to help TypeScript narrow the types
You can’t perform that action at this time.
0 commit comments