Skip to content

Commit 12fbec2

Browse files
committed
remove unused vars
1 parent 5c9d5f8 commit 12fbec2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/pages/[...lang]/[...about].astro

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ import {
1313
export function getStaticPaths() {
1414
return Object.keys(languages).map((lang) => {
1515
const translatePath = useTranslatedPath(lang as keyof typeof languages);
16-
let pipi = translatePath("acerca-de").split("/").pop();
1716
return {
1817
params: {
1918
lang: lang !== defaultLang ? lang : undefined,
@@ -27,7 +26,7 @@ const lang = getLangFromUrl(Astro.url);
2726
const slug = getUrlWithoutLang(Astro.url);
2827
const t = useTranslations((lang ?? defaultLang) as keyof typeof languages);
2928
const page = (await getEntry("pages", `${lang}/${slug}`))!;
30-
const { Content, headings } = await page.render();
29+
const { Content } = await page.render();
3130
---
3231

3332
<Layout title={t("nav.about")}>

0 commit comments

Comments
 (0)