Skip to content

Commit 4ed0537

Browse files
committed
fixes style
1 parent 2ef8293 commit 4ed0537

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/util/sidebar.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,8 @@ export function flattenSidebar(sidebar: SidebarEntry[]): Link[] {
182182

183183
function getBadge(link: string): any {
184184
if (link.startsWith("/api")) return { text: "API", variant: "note" };
185-
if (link.includes("/mcp-server-cloudflare")) return { text: "MCP", variant: "note" };
185+
if (link.includes("/mcp-server-cloudflare"))
186+
return { text: "MCP", variant: "note" };
186187
return undefined;
187188
}
188189

0 commit comments

Comments
 (0)