```
chore: refactor logging module, update genesis timestamp, remove model relationships, and reorganize routers - Rename logging.py to logger.py and update import paths in poa.py and main.py - Update devnet genesis timestamp to 1766828620 - Remove SQLModel Relationship declarations from Block, Transaction, and Receipt models - Add SessionDep type alias and get_session dependency in coordinator-api deps - Reorganize coordinator-api routers: replace explorer/registry with exchange, users, marketplace
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import { fetchAddresses, type AddressSummary } from "../lib/mockData";
|
||||
import { fetchAddresses } from "../lib/mockData";
|
||||
import type { AddressSummary } from "../lib/models";
|
||||
|
||||
export const addressesTitle = "Addresses";
|
||||
|
||||
@@ -48,7 +49,7 @@ export async function initAddressesPage(): Promise<void> {
|
||||
}
|
||||
|
||||
const addresses = await fetchAddresses();
|
||||
if (addresses.length === 0) {
|
||||
if (!addresses || addresses.length === 0) {
|
||||
tbody.innerHTML = `
|
||||
<tr>
|
||||
<td class="placeholder" colspan="4">No mock addresses available.</td>
|
||||
|
||||
Reference in New Issue
Block a user