Skip to content

Commit

Permalink
Update apps/webapp/app/(routes)/[lang]/blog/[category]/sitemap.ts
Browse files Browse the repository at this point in the history
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
  • Loading branch information
TopETH and sourcery-ai[bot] authored Jul 25, 2024
1 parent 10584c3 commit bf953bb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions apps/webapp/app/(routes)/[lang]/blog/[category]/sitemap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ export default async function sitemap(
const {
params: { lang }
} = props
let sections;
let sections = [];
try {
sections = await getArticleSections(lang)
} catch(error) {
sections = await getArticleSections(lang);
} catch (error) {
return [];
}

Expand Down

0 comments on commit bf953bb

Please sign in to comment.