Skip to content

Commit

Permalink
Fix Zeta AI chat icon (#413)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucas-janon authored Jul 31, 2024
1 parent 002ec2d commit 735e1a0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/Cmdk/components/CmdkChat.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ import clsx from "clsx";
import { Command } from "cmdk";
import React, { useEffect, useRef } from "react";

import { basePath } from "~/lib/app.constants";

import { cmdkChatQuestions } from "../cmdk.constants";
import { ArrowUpIcon } from "./ArrowUpIcon";
import { LoadingDots } from "./LoadingDots";
Expand All @@ -16,7 +18,7 @@ const AssistantMessage: React.FC<{ children: React.ReactNode; className?: string
return (
<div className={clsx("flex px-4 mb-4 overflow-hidden", className)}>
<div className="min-w-[32px] mb-[1px] mt-[1px] mr-4 w-8 h-8 rounded-full flex items-center justify-center bg-green-100">
<img src="/img/logos/zeta.svg" height="14" width="14" />
<img src={`${basePath}/img/logos/zeta.svg`} height="14" width="14" />
</div>
<div className={clsx("max-w-[95%]", messageClasses)}>{children}</div>
</div>
Expand Down

0 comments on commit 735e1a0

Please sign in to comment.