mirror of
https://github.com/logos-messaging/OpChan.git
synced 2026-01-03 13:23:08 +00:00
fix: verify ownership state reflect
This commit is contained in:
parent
77ed582e69
commit
48c7b87a55
@ -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:
|
||||
|
||||
@ -80,8 +80,6 @@ export function useAuth() {
|
||||
return false;
|
||||
}
|
||||
|
||||
console.log({user, identity})
|
||||
|
||||
const updated: User = {
|
||||
...user,
|
||||
...identity,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user