mirror of
https://github.com/multica-ai/multica.git
synced 2026-08-03 11:10:23 +02:00
fix(runtimes): normalize Qwen logo import for desktop (#5728)
Co-authored-by: Eve <eve@multica-ai.local> Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
@@ -286,7 +286,10 @@ function GrokLogo({ className }: { className: string }) {
|
||||
|
||||
// Qwen Code — official SVG copied verbatim from QwenLM/qwen-code's desktop
|
||||
// brand assets (packages/desktop/apps/electron/resources/brands/qwen-code/icon.svg).
|
||||
const qwenLogoSrc = typeof qwenLogo === "string" ? qwenLogo : qwenLogo.src;
|
||||
const qwenLogoSrc: string = (() => {
|
||||
const asset = qwenLogo as unknown;
|
||||
return typeof asset === "string" ? asset : (asset as { src: string }).src;
|
||||
})();
|
||||
|
||||
function QwenLogo({ className }: { className: string }) {
|
||||
return <img src={qwenLogoSrc} alt="" aria-hidden className={className} />;
|
||||
|
||||
Reference in New Issue
Block a user