-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: names detail page #3018
feat: names detail page #3018
Conversation
meelrossi
commented
Jan 19, 2024
![image](https://private-user-images.githubusercontent.com/11800206/298182349-3cf802f6-250a-44ce-bfdd-7bd0b46ac2d6.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjA2ODIzNjUsIm5iZiI6MTcyMDY4MjA2NSwicGF0aCI6Ii8xMTgwMDIwNi8yOTgxODIzNDktM2NmODAyZjYtMjUwYS00NGNlLWJmZGQtN2JkMGI0NmFjMmQ2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzExVDA3MTQyNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTEyM2JiZDE3Y2MwMTViYjE2NTY3NmM5YjAyYTliN2JjZGQxZDg3OTZjMDgxYWEwY2MzYjhiY2FiMDE1NjU1YjkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.w9-Pk3uOEsvfeeUVjL1wKWg24kCrCV9s5pHzGF7mowg)
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Pull Request Test Coverage Report for Build 7620032285
💛 - Coveralls |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! I've left some comments to small review
export default function ENSDetailPage(props: Props) { | ||
const { ens, isLoading, alias, avatar, name, onNavigate, onOpenModal, onFetchENS } = props | ||
const imgUrl = useMemo<string>( | ||
() => (ens ? `http://marketplace-api.decentraland.zone/v1/ens/generate?ens=${ens.name}&width=330&height=330` : ''), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would you mind getting the marketplace-api url from the config files?
<img | ||
className="ens-list-name-icon" | ||
alt={ens.subdomain} | ||
src={`http://marketplace-api.decentraland.zone/v1/ens/generate?ens=${ens.name}&width=330&height=330`} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as before (just as a reminder), would you mind moving the marketplace-api site URL to the configs?
Co-authored-by: Lautaro Petaccio <1120791+LautaroPetaccio@users.noreply.github.com> Signed-off-by: Melisa Anabella Rossi <merossi@itba.edu.ar>
…der into feat/names-detail-page