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

feat: show tezos domain on profile #356

Merged
merged 3 commits into from
Nov 24, 2023
Merged

Conversation

Zir0h
Copy link
Contributor

@Zir0h Zir0h commented Nov 7, 2023

possible fix for #209

Copy link

github-actions bot commented Nov 7, 2023

PR Preview Action v1.4.4
Preview removed because the pull request was closed.
2023-11-24 13:18 UTC

import { useCallback, useEffect, useState } from 'react'

async function reverseRecord(address) {
const response = await fetch('https://api.tezos.domains/graphql', {
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 is standardized across the code base but we should use axios since I'm not sure we polyfill fetch yet (for older browsers)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

switched to axios with d04ad54

@melMass melMass merged commit 3f05ece into main Nov 24, 2023
3 checks passed
@melMass melMass deleted the feat-add-tez-domain-to-profile branch November 24, 2023 13:17
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.

2 participants