refactor: clean up $getActiveIdentity method and fix null handling
- Remove excessive debug logging statements - Fix critical bug: cast activeDid as string | null instead of string - Refactor to use early return pattern, reducing nesting from 4 to 2-3 levels - Eliminate redundant logic and improve code readability - Maintain all original functionality while simplifying flow - Fix null activeDid case that was breaking app initialization
This commit is contained in:
@@ -118,6 +118,7 @@ onNumNewOffersToUserChange(newValue: number, oldValue: number) {
|
||||
**Status**: 23 components successfully migrated. 11 components remaining. API layer ready for systematic updates.
|
||||
|
||||
### Phase 4: Testing 🟡 PARTIALLY STARTED
|
||||
|
||||
- [x] Test Web platform (verified working)
|
||||
- [ ] Test Electron platform
|
||||
- [ ] Test iOS platform
|
||||
|
||||
Reference in New Issue
Block a user