From 9706f2d643328025036ec7de4d7e12e5375515a0 Mon Sep 17 00:00:00 2001 From: tequ Date: Mon, 15 Jun 2026 11:39:55 +0900 Subject: [PATCH] remove unused lines --- src/components/Header.jsx | 1 - src/components/XahauEcosystem.astro | 5 ----- 2 files changed, 6 deletions(-) diff --git a/src/components/Header.jsx b/src/components/Header.jsx index d8badfa..b39d904 100644 --- a/src/components/Header.jsx +++ b/src/components/Header.jsx @@ -27,7 +27,6 @@ const languages = [ { code: 'en', label: 'English' }, { code: 'es', label: 'Español' }, { code: 'pt-BR', label: 'Português (Brasil)' }, - // { code: 'ja', label: '日本語' }, { code: 'ja', label: '日本語' }, ] diff --git a/src/components/XahauEcosystem.astro b/src/components/XahauEcosystem.astro index 486e049..6fc5165 100644 --- a/src/components/XahauEcosystem.astro +++ b/src/components/XahauEcosystem.astro @@ -29,7 +29,6 @@ import logoXaman from '../assets/ecosystem-logos/xaman.png' import logoXrplwin from '../assets/ecosystem-logos/xrplwin.png' import ecosystemData from '../data/ecosystem.json' import { defaultLocale, type Locale } from '../i18n/locales' -import { normalizeLocale } from '../utils/localizedHref' const logoMap: Record = { xaman: logoXaman, @@ -50,10 +49,6 @@ const logoMap: Record = { const locale = (Astro.currentLocale ?? defaultLocale) as Locale -const meta = ecosystemData.meta -const L = (rec: Record) => - rec[locale] ?? rec['en'] ?? Object.values(rec)[0] - // Projects sorted alphabetically at build time; others keep editorial order. const sections = ecosystemData.sections.map((section) => section.id === 'projects'