Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
OGPoyraz committed Nov 15, 2024
1 parent e50f47e commit c35b284
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions app/components/hooks/DisplayName/useNftName.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
import { UseDisplayNameRequest } from './useDisplayName';
import { useNftCollectionsMetadata } from './useNftCollectionsMetadata';

export interface UseNFTNameRequest {
value: string;
}

export interface UseNFTNameResponse {
nftCollectionName: string | undefined;
nftCollectionImage: string | undefined;
Expand All @@ -15,7 +12,7 @@ export interface UseNFTNameResponse {
* @param value The value to get the display name for.
*/
export function useNFTNames(
requests: UseNFTNameRequest[],
requests: UseDisplayNameRequest[],
): UseNFTNameResponse[] {
const nftCollections = useNftCollectionsMetadata(requests);

Expand All @@ -37,4 +34,3 @@ export function useNFTNames(
};
});
}

0 comments on commit c35b284

Please sign in to comment.