gitcoinco / grant-hub

Other
20 stars 11 forks source link

[676] Only show edit button when signer is an owner #737

Closed boudra closed 1 year ago

boudra commented 1 year ago

Resolves #676

cloudflare-workers-and-pages[bot] commented 1 year ago

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 89ccda3
Status: ✅  Deploy successful!
Preview URL: https://f4ae8fa8.grant-hub.pages.dev
Branch Preview URL: https://disable-edit-button-for-non-.grant-hub.pages.dev

View logs

boudra commented 1 year ago

hmm the signer address changes when you switch networks on your wallet right? not sure how we can identify whether the user is the owner in that scenario

codenamejason commented 1 year ago

The signer should carry over to whatever chain your wallet has selected. I think with Rainbow/wagmi they just sign in once and can traverse chain to chain.