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

fix(PE-7543): only owner will see primary name button #672

Merged
merged 2 commits into from
Feb 12, 2025

Conversation

atticusofsparta
Copy link
Contributor

No description provided.

}) => {
const [{ arioProcessId, antAoClient }] = useGlobalState();
const [{ wallet, walletAddress }] = useWalletState();
const isOwner = walletAddress
? state?.Owner === walletAddress?.toString()
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
? state?.Owner === walletAddress?.toString()
? state?.Owner === walletAddress.toString()

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@@ -98,6 +98,9 @@ const UndernamesTable = ({
const [searchParams, setSearchParams] = useSearchParams();
const [{ arioProcessId, antAoClient }] = useGlobalState();
const [{ wallet, walletAddress }] = useWalletState();
const isOwner = walletAddress
? info?.Owner === walletAddress?.toString()
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
? info?.Owner === walletAddress?.toString()
? info?.Owner === walletAddress.toString()

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link

github-actions bot commented Feb 11, 2025

Visit the preview URL for this PR (updated for commit 61d94eb):

https://arns-portal--pr672-pe-7543-undernames-a-hph5ntr3.web.app

(expires Tue, 25 Feb 2025 22:00:44 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 1f59769442cb89cf2a92042a342e51fe94047b94

@dtfiedler dtfiedler self-requested a review February 12, 2025 14:42
@atticusofsparta atticusofsparta merged commit 07df035 into develop Feb 12, 2025
6 checks passed
@atticusofsparta atticusofsparta deleted the PE-7543-undernames-auth branch February 12, 2025 15:23
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.

3 participants