From 1a9448e1524119b48734bf42cefd6f1b424420a0 Mon Sep 17 00:00:00 2001 From: MananTank Date: Tue, 25 Mar 2025 19:36:16 +0000 Subject: [PATCH] Portal: Fix lint error (#6552) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ## PR-Codex overview This PR focuses on restructuring the `sidebar` object in the `apps/portal/src/app/nebula/sidebar.tsx` file, ensuring proper formatting of the sidebar items and improving the overall readability of the code. ### Detailed summary - Adjusted the formatting of the `sidebar` entries for `MCP Server` and `Tools`. - Converted closing brackets from separate lines to inline, enhancing code clarity. - Ensured consistent object structure for items in the `sidebar`. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` --- apps/portal/src/app/nebula/sidebar.tsx | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/apps/portal/src/app/nebula/sidebar.tsx b/apps/portal/src/app/nebula/sidebar.tsx index 5c34563124d..fae7e8bb0eb 100644 --- a/apps/portal/src/app/nebula/sidebar.tsx +++ b/apps/portal/src/app/nebula/sidebar.tsx @@ -152,7 +152,7 @@ export const sidebar: SideBar = { }, ], }, - ] + ], }, { name: "MCP Server", @@ -174,10 +174,10 @@ export const sidebar: SideBar = { { name: "MCP Server", href: "/nebula/mcp-server/integrations/mcp-server", - } - ] - } - ] + }, + ], + }, + ], }, { name: "Tools", @@ -196,10 +196,9 @@ export const sidebar: SideBar = { name: "Examples", href: "/nebula/tools/python-sdk/examples", }, - ] - } - - ] + ], + }, + ], }, { separator: true,