fix: verify ownership state reflect

This commit is contained in:
Danish Arora 2025-09-25 22:02:17 +05:30
parent 77ed582e69
commit 48c7b87a55
No known key found for this signature in database
GPG Key ID: 1C6EF37CDAE1426E
2 changed files with 2 additions and 7 deletions

View File

@ -78,11 +78,8 @@ export function VerificationStep({
try {
console.log('📞 Calling verifyWallet()...');
await verifyOwnership();
if (currentUser?.verificationStatus === EVerificationStatus.ENS_ORDINAL_VERIFIED) {
// For now, just show success - the actual ownership check will be done
// by the useEffect when the user state updates
console.log('✅ Verification successful, setting result');
const ok = await verifyOwnership();
if (ok) {
setVerificationResult({
success: true,
message:

View File

@ -80,8 +80,6 @@ export function useAuth() {
return false;
}
console.log({user, identity})
const updated: User = {
...user,
...identity,