Skip to content
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

ref: change clickable to indexer #135

Merged
merged 2 commits into from
Aug 28, 2023
Merged

ref: change clickable to indexer #135

merged 2 commits into from
Aug 28, 2023

Conversation

fricoben
Copy link
Contributor

@fricoben fricoben commented Aug 25, 2023

close #131

@vercel
Copy link

vercel bot commented Aug 25, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
goerli-starknet-quest ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 25, 2023 3:53pm
starknet-quest ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 25, 2023 3:53pm

Copy link
Member

@Th0rgal Th0rgal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good pr, I need you to check discord though

<div
className={styles.clickableIconDiscord}
onClick={() =>
window.open(`https://discord.com/channels/@me/${discordId}`)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this will work, iirc this undocumented discord endpoint takes a channel id, not a user id. It might be possible to get a channel id from a discord id though.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tested I think it worked (it's been a long time since this is in production).

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It didn't for me. Lemme know if you have a working example

Copy link
Member

@Th0rgal Th0rgal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@Th0rgal Th0rgal merged commit 2c5c8d4 into testnet Aug 28, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Move Clickable social media to the indexer
2 participants