Skip to content

Commit

Permalink
Fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
darthmaim committed Dec 10, 2024
1 parent 2a8ab7b commit 6968965
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 9 deletions.
7 changes: 4 additions & 3 deletions apps/web/app/[language]/festival/wintersday/(index)/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -49,10 +50,10 @@ export default async function WintersdayPage() {

<Gw2Accounts requiredScopes={requiredScopes} loading={null} loginMessage={<Trans id="festival.wintersday.items.login"/>} authorizationMessage={<Trans id="festival.wintersday.items.authorize"/>}>
{items.map((item) => (
<>
<Fragment key={item.id}>
<Headline id={item.id.toString()}><ItemLink item={item}/></Headline>
<ItemInventoryTable itemId={item.id}/>
</>
</Fragment>
))}
</Gw2Accounts>

Expand All @@ -68,5 +69,5 @@ export async function generateMetadata({ params }: PageProps): Promise<Metadata>
title: {
absolute: `${t('festival.wintersday')} · gw2treasures.com`
}
}
};
}
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,6 @@ export async function generateMetadata({ params }: PageProps): Promise<Metadata>

return {
title: t('navigation.achievements')
}
};
}

2 changes: 1 addition & 1 deletion apps/web/app/[language]/festival/wintersday/minis/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,5 +84,5 @@ export async function generateMetadata({ params }: PageProps): Promise<Metadata>

return {
title: t('festival.wintersday.minis')
}
};
}
2 changes: 1 addition & 1 deletion apps/web/app/[language]/festival/wintersday/skins/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -111,5 +111,5 @@ export async function generateMetadata({ params }: PageProps): Promise<Metadata>

return {
title: t('navigation.skins')
}
};
}
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ export default async function WintersdayAchievementsPage({ params }: PageProps)
<p><Trans id="festival.wintersday.wizards-vault.description"/></p>

{objectives.length > 0 ? objectives.map((objective) => (
<WizardsVaultObjective objective={objective} language={language}/>
<WizardsVaultObjective key={objective.id} objective={objective} language={language}/>
)) : (
<Notice>No Wizard's Vault objectives for wintersday are available in the Guild Wars 2 API yet.</Notice>
<Notice>No Wizard&apos;s Vault objectives for wintersday are available in the Guild Wars 2 API yet.</Notice>
)}

<p style={{ border: '1px solid var(--color-border)', marginTop: 48, padding: 16 }}>
Expand All @@ -60,5 +60,5 @@ export async function generateMetadata({ params }: PageProps): Promise<Metadata>

return {
title: t('navigation.wizardsVault')
}
};
}

0 comments on commit 6968965

Please sign in to comment.