From cb7c7716b0d8e315deed1cd733b4d0245aca6e88 Mon Sep 17 00:00:00 2001 From: RulaKhaled Date: Wed, 23 Sep 2026 16:53:01 +0300 Subject: [PATCH] fix(js): Dedupe the mistral platform icon entries MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Master is currently red: #19557 and #19578 merged the same day and each added identical `mistral` entries to both maps in `platformIcon.tsx` — green apart, duplicate object keys together (TS1117). That fails `tsc`, `next build`, and with it the Vercel deploys and lint-404 on every branch that merges master, this one included. Keeps the #19578 copies, which sit in alphabetical order (`mcp < mistral < mongodb`); drops the #19557 ones. If master lands its own fix, the next merge resolves trivially. Co-Authored-By: Claude Opus 5 --- src/components/platformIcon.tsx | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/components/platformIcon.tsx b/src/components/platformIcon.tsx index dca6f2b7cffc9..9e43120a89fdf 100644 --- a/src/components/platformIcon.tsx +++ b/src/components/platformIcon.tsx @@ -684,10 +684,6 @@ const formatToSVG = { sm: GroqSVG, lg: GroqSVGLarge, }, - mistral: { - sm: MistralSVG, - lg: MistralSVGLarge, - }, laravel: { sm: LaravelSVG, lg: LaravelSVGLarge, @@ -1020,7 +1016,6 @@ export const PLATFORM_TO_ICON = { go: 'go', 'google-genai': 'gemini', groq: 'groq', - mistral: 'mistral', 'together-ai': 'default', 'go-echo': 'echo', 'go-fasthttp': 'fasthttp',