Skip to content

Commit

Permalink
Changed the text color of the "Draft" label to improve visibility in …
Browse files Browse the repository at this point in the history
…agent-form
  • Loading branch information
mikepsinn committed Jul 14, 2024
1 parent 9017c46 commit 35903c3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion components/agents/agent-form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ export default function AgentForm({
{name || (agentData ? "Edit Agent" : "New Agent")}
</h1>
{!agentData && (
<span className="ml-auto rounded-full bg-yellow-600 px-3 py-1 text-sm font-medium text-yellow-500">
<span className="ml-auto rounded-full bg-yellow-600 px-3 py-1 text-sm font-medium text-white-500">
Draft
</span>
)}
Expand Down
1 change: 0 additions & 1 deletion lib/chat/submit-user-message.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { nanoid } from "nanoid"
import OpenAI from "openai"
import { z } from "zod"

import { prisma } from "@/lib/db"
import { askSupabase } from "@/lib/docs/docsAgent"
import { getCurrentUser } from "@/lib/session"
import { Agent } from "@/lib/types"
Expand Down

0 comments on commit 35903c3

Please sign in to comment.