From 60bb38130bdf958695b20dad8a7a5f08bc485e9c Mon Sep 17 00:00:00 2001 From: Juan Manzanero <59628111+juancmandev@users.noreply.github.com> Date: Sat, 1 Feb 2025 17:35:49 -0600 Subject: [PATCH] Fix duplicated variable (#23) * fix video url * update deploy script for using rsync * remove delete from script * translate resources page * fix images dimensions and favicon * add css optimization plugin and improve images * update project dependencies * refactor lang * post translated to spanish * fix metadata * update dependencies * update dependencies * update dependencies * update to Astro 5.x * format index.astro * Migrate content layer to Astro V5 * Fix duplicated variable --- src/i18n/utils.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/i18n/utils.ts b/src/i18n/utils.ts index 42303ea..6d19a48 100644 --- a/src/i18n/utils.ts +++ b/src/i18n/utils.ts @@ -2,8 +2,6 @@ import { ui, defaultLang, showDefaultLang } from '@/i18n/ui'; export type lang = 'en' | 'es'; -export type lang = "en" | "es"; - export function getLangFromUrl(url: URL) { const [, lang] = url.pathname.split('/'); if (lang in ui) return lang as keyof typeof ui;