diff --git a/src/lib/components/layout/sidebar/content.svelte b/src/lib/components/layout/sidebar/content.svelte
index df0bbf34..8d694c0f 100644
--- a/src/lib/components/layout/sidebar/content.svelte
+++ b/src/lib/components/layout/sidebar/content.svelte
@@ -9,13 +9,7 @@
class?: string;
children: Snippet;
}
- const {
- threshold = '50%',
- children,
- tag = 'div',
- class: className = '',
- ...props
- }: Props = $props();
+ const { threshold = '50%', children, tag = 'div', ...props }: Props = $props();
+
+
diff --git a/src/routes/[network]/(explorer)/msig/[proposer]/[proposal]/+page.ts b/src/routes/[network]/(explorer)/msig/[proposer]/[proposal]/+page.ts
index 2ca7f7bf..36fb3d7f 100644
--- a/src/routes/[network]/(explorer)/msig/[proposer]/[proposal]/+page.ts
+++ b/src/routes/[network]/(explorer)/msig/[proposer]/[proposal]/+page.ts
@@ -1,10 +1,9 @@
-import { error } from '@sveltejs/kit';
-import { Name, type API } from '@wharfkit/antelope';
+// import { error } from '@sveltejs/kit';
+// import { Name, type API } from '@wharfkit/antelope';
import type { PageLoad } from './$types';
-import * as m from '$lib/paraglide/messages.js';
-export const load: PageLoad = async ({ fetch, params }) => {
+export const load: PageLoad = async () => {
// const result = await getClient(fetch).v1.chain.get_table_rows({
// code: 'eosio.msig',
// scope: params.proposer,
diff --git a/src/routes/[network]/(explorer)/network/+page.svelte b/src/routes/[network]/(explorer)/network/+page.svelte
index 139679ed..f2ee704e 100644
--- a/src/routes/[network]/(explorer)/network/+page.svelte
+++ b/src/routes/[network]/(explorer)/network/+page.svelte
@@ -1,6 +1,4 @@
{#if data.transaction && data.transaction.trx}
- {#each data.transaction.trx.trx.actions as action}
- {@const summaryComponent = summaryMap[action.account][action.name]}
- {#if summaryComponent}
-
+ {@const actions = data.transaction.trx.trx.actions as Action[]}
+ {#each actions as action}
+ {#if isValidAccount(action.account)}
+ {@const accountMap = summaryMap[action.account]}
+ {#if isValidActionName(action.account, action.name)}
+ {@const summaryComponent = accountMap[action.name]}
+
+ {:else}
+
Unknown action: {action.account}::{action.name}
+ {/if}
{:else}
-
Unknown action: {action.account}::{action.name}
+
Unknown account: {action.account}
{/if}
{JSON.stringify(action, null, 2)}
{/each}
@@ -40,7 +67,7 @@
{#if data.seq}
{@const trace = data.transaction.traces.find(
- (t) => String(t.receipt.global_sequence) === data.seq
+ (t: { receipt: { global_sequence: number } }) => String(t.receipt.global_sequence) === data.seq
)}
{JSON.stringify(trace, null, 2)}
{:else}
diff --git a/src/routes/[network]/(explorer)/transaction/[id]/[[seq]]/data/+page.svelte b/src/routes/[network]/(explorer)/transaction/[id]/[[seq]]/data/+page.svelte
index b2916990..3c84ecf2 100644
--- a/src/routes/[network]/(explorer)/transaction/[id]/[[seq]]/data/+page.svelte
+++ b/src/routes/[network]/(explorer)/transaction/[id]/[[seq]]/data/+page.svelte
@@ -1,6 +1,5 @@
diff --git a/src/routes/[network]/(explorer)/transaction/[id]/[[seq]]/resources/+page.svelte b/src/routes/[network]/(explorer)/transaction/[id]/[[seq]]/resources/+page.svelte
index 95747ef0..0fda1405 100644
--- a/src/routes/[network]/(explorer)/transaction/[id]/[[seq]]/resources/+page.svelte
+++ b/src/routes/[network]/(explorer)/transaction/[id]/[[seq]]/resources/+page.svelte
@@ -1,6 +1,5 @@
diff --git a/src/routes/[network]/(homepage)/+page.svelte b/src/routes/[network]/(homepage)/+page.svelte
index 1f3c5da3..79fb4569 100644
--- a/src/routes/[network]/(homepage)/+page.svelte
+++ b/src/routes/[network]/(homepage)/+page.svelte
@@ -1,5 +1,4 @@