diff --git a/src/hooks.server.ts b/src/hooks.server.ts index 394f3825..a066b93a 100644 --- a/src/hooks.server.ts +++ b/src/hooks.server.ts @@ -1,7 +1,7 @@ import { sequence } from '@sveltejs/kit/hooks'; import type { Handle, RequestEvent } from '@sveltejs/kit'; -import { availableLanguageTags } from './lib/paraglide/runtime'; +import { availableLanguageTags } from '$lib/paraglide/runtime.js'; import { i18n } from '$lib/i18n'; import { isNetworkShortName } from '$lib/wharf/chains'; diff --git a/src/lib/components/select/language.svelte b/src/lib/components/select/language.svelte index 86c9aa15..a00eaa9b 100644 --- a/src/lib/components/select/language.svelte +++ b/src/lib/components/select/language.svelte @@ -1,7 +1,7 @@ diff --git a/src/routes/[network]/(explorer)/block/[number]/+page.svelte b/src/routes/[network]/(explorer)/block/[number]/+page.svelte index 8b69c7f2..e19d3328 100644 --- a/src/routes/[network]/(explorer)/block/[number]/+page.svelte +++ b/src/routes/[network]/(explorer)/block/[number]/+page.svelte @@ -1,6 +1,6 @@ diff --git a/src/routes/[network]/(explorer)/contract/[contract]/structs/[struct]/+page.svelte b/src/routes/[network]/(explorer)/contract/[contract]/structs/[struct]/+page.svelte index 77f8a772..27ffd76c 100644 --- a/src/routes/[network]/(explorer)/contract/[contract]/structs/[struct]/+page.svelte +++ b/src/routes/[network]/(explorer)/contract/[contract]/structs/[struct]/+page.svelte @@ -16,7 +16,7 @@ title={m.contract_struct_view_title({ struct: data.struct })} subtitle={m.contract_struct_view_description({ struct: data.struct, - contract: data.contract, + contract: String(data.contract), network: data.network.chain.name })} /> diff --git a/src/routes/[network]/(explorer)/contract/[contract]/structs/[struct]/+page.ts b/src/routes/[network]/(explorer)/contract/[contract]/structs/[struct]/+page.ts index ed99caed..0abc51cf 100644 --- a/src/routes/[network]/(explorer)/contract/[contract]/structs/[struct]/+page.ts +++ b/src/routes/[network]/(explorer)/contract/[contract]/structs/[struct]/+page.ts @@ -1,5 +1,5 @@ import type { PageLoad } from './$types'; -import * as m from '../../../../../../../lib/paraglide/messages'; +import * as m from '$lib/paraglide/messages.js'; import { error } from '@sveltejs/kit'; export const load: PageLoad = async ({ params, parent }) => {