From c6aa5a97dc0b63f8d183472b357c68bc4a19b7e4 Mon Sep 17 00:00:00 2001 From: yinheli Date: Wed, 12 Nov 2025 06:53:59 +0800 Subject: [PATCH] fix(docs): Remove duplicate sections in guides.jsx (#24595) ### What does this PR do? This PR fixes an issue on the Guides page where duplicate sections were being displayed. The problem was caused by a misplaced return statement and a duplicated JSX block introduced in commit [1606a9f24e](https://github.com/oven-sh/bun/blob/1606a9f24e/docs/snippets/guides.jsx#L504-L514). --- docs/snippets/guides.jsx | 28 ---------------------------- 1 file changed, 28 deletions(-) diff --git a/docs/snippets/guides.jsx b/docs/snippets/guides.jsx index 3ff2f48988..ce3c7a7f8a 100644 --- a/docs/snippets/guides.jsx +++ b/docs/snippets/guides.jsx @@ -501,34 +501,6 @@ export const GuidesList = () => { ))} - return ( -
- {/* Featured cards */} -
-

Featured

- - {guidesData.featured.map(g => ( - - ))} - -
- - {/* All guides organized by category */} -
-

All Guides

- {guidesData.categories.map(category => ( -
-

{category.title}

- - {category.items.map(guide => ( - - ))} - -
- ))} -
-
- ); {/* All guides organized by category */}

All Guides