From 696896597686a0ae1e8a1a0cdf525c72e2723a6f Mon Sep 17 00:00:00 2001 From: darthmaim Date: Tue, 10 Dec 2024 13:47:23 +0100 Subject: [PATCH] Fix lint issues --- .../app/[language]/festival/wintersday/(index)/page.tsx | 7 ++++--- .../[language]/festival/wintersday/achievements/page.tsx | 2 +- apps/web/app/[language]/festival/wintersday/minis/page.tsx | 2 +- apps/web/app/[language]/festival/wintersday/skins/page.tsx | 2 +- .../[language]/festival/wintersday/wizards-vault/page.tsx | 6 +++--- 5 files changed, 10 insertions(+), 9 deletions(-) diff --git a/apps/web/app/[language]/festival/wintersday/(index)/page.tsx b/apps/web/app/[language]/festival/wintersday/(index)/page.tsx index 3710ef83d..2e64f7b04 100644 --- a/apps/web/app/[language]/festival/wintersday/(index)/page.tsx +++ b/apps/web/app/[language]/festival/wintersday/(index)/page.tsx @@ -15,6 +15,7 @@ import { cache } from '@/lib/cache'; import { ItemLink } from '@/components/Item/ItemLink'; import type { PageProps } from '@/lib/next'; import { getTranslate } from '@/lib/translate'; +import { Fragment } from 'react'; const itemIds = [ 86601, @@ -49,10 +50,10 @@ export default async function WintersdayPage() { } authorizationMessage={}> {items.map((item) => ( - <> + - + ))} @@ -68,5 +69,5 @@ export async function generateMetadata({ params }: PageProps): Promise title: { absolute: `${t('festival.wintersday')} ยท gw2treasures.com` } - } + }; } diff --git a/apps/web/app/[language]/festival/wintersday/achievements/page.tsx b/apps/web/app/[language]/festival/wintersday/achievements/page.tsx index d966ec52b..7b8c1c736 100644 --- a/apps/web/app/[language]/festival/wintersday/achievements/page.tsx +++ b/apps/web/app/[language]/festival/wintersday/achievements/page.tsx @@ -96,6 +96,6 @@ export async function generateMetadata({ params }: PageProps): Promise return { title: t('navigation.achievements') - } + }; } diff --git a/apps/web/app/[language]/festival/wintersday/minis/page.tsx b/apps/web/app/[language]/festival/wintersday/minis/page.tsx index 731a4a645..ac3b508d2 100644 --- a/apps/web/app/[language]/festival/wintersday/minis/page.tsx +++ b/apps/web/app/[language]/festival/wintersday/minis/page.tsx @@ -84,5 +84,5 @@ export async function generateMetadata({ params }: PageProps): Promise return { title: t('festival.wintersday.minis') - } + }; } diff --git a/apps/web/app/[language]/festival/wintersday/skins/page.tsx b/apps/web/app/[language]/festival/wintersday/skins/page.tsx index 00ceb963f..060c9841d 100644 --- a/apps/web/app/[language]/festival/wintersday/skins/page.tsx +++ b/apps/web/app/[language]/festival/wintersday/skins/page.tsx @@ -111,5 +111,5 @@ export async function generateMetadata({ params }: PageProps): Promise return { title: t('navigation.skins') - } + }; } diff --git a/apps/web/app/[language]/festival/wintersday/wizards-vault/page.tsx b/apps/web/app/[language]/festival/wintersday/wizards-vault/page.tsx index 5be6a9f9b..86d8aac68 100644 --- a/apps/web/app/[language]/festival/wintersday/wizards-vault/page.tsx +++ b/apps/web/app/[language]/festival/wintersday/wizards-vault/page.tsx @@ -40,9 +40,9 @@ export default async function WintersdayAchievementsPage({ params }: PageProps)

{objectives.length > 0 ? objectives.map((objective) => ( - + )) : ( - No Wizard's Vault objectives for wintersday are available in the Guild Wars 2 API yet. + No Wizard's Vault objectives for wintersday are available in the Guild Wars 2 API yet. )}

@@ -60,5 +60,5 @@ export async function generateMetadata({ params }: PageProps): Promise return { title: t('navigation.wizardsVault') - } + }; }