Alexis Bruneteau 6067c3741f fix: Prevent TypeError on blockchain page from undefined blocks array
Fix remaining undefined array access error on blockchain visualization page.

When blockchainData exists but blocks is undefined, accessing .length would crash:
- "can't access property 'length', e is undefined"

CHANGES:
1. Blockchain page (blockchain/page.tsx):
   - Ensure blocks array always exists when API data is fetched
   - Provide fallback to empty array with verification object
   - Add null check before accessing blocks.length in conditional render

This is the final fix for all frontend undefined array access issues.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-07 19:10:10 +01:00
..