diff --git a/src/app.tsx b/src/app.tsx index fd1bcda..696842e 100644 --- a/src/app.tsx +++ b/src/app.tsx @@ -17,13 +17,13 @@ import { ToolInvocationCard } from "@/components/tool-invocation-card/ToolInvoca // Icon imports import { - Bug, - Moon, - Robot, - Sun, - Trash, - PaperPlaneTilt, - Stop + BugIcon, + MoonIcon, + RobotIcon, + SunIcon, + TrashIcon, + PaperPlaneTiltIcon, + StopIcon } from "@phosphor-icons/react"; // List of tools that require human confirmation @@ -163,7 +163,7 @@ export default function Chat() {
- + - {theme === "dark" ? : } + {theme === "dark" ? : }
@@ -199,7 +199,7 @@ export default function Chat() {
- +

Welcome to AI Chat

@@ -392,7 +392,7 @@ export default function Chat() { className="inline-flex items-center cursor-pointer justify-center gap-2 whitespace-nowrap text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 bg-primary text-primary-foreground hover:bg-primary/90 rounded-full p-1.5 h-fit border border-neutral-200 dark:border-neutral-800" aria-label="Stop generation" > - + ) : ( )}

diff --git a/src/components/button/RefreshButton.tsx b/src/components/button/RefreshButton.tsx index 9e9e78f..8d84f64 100644 --- a/src/components/button/RefreshButton.tsx +++ b/src/components/button/RefreshButton.tsx @@ -1,11 +1,11 @@ import { Button } from "@/components/button/Button"; import type { ButtonProps } from "@/components/button/Button"; import { cn } from "@/lib/utils"; -import { ArrowsClockwise } from "@phosphor-icons/react"; +import { ArrowsClockwiseIcon } from "@phosphor-icons/react"; export const RefreshButton = ({ ...props }: ButtonProps) => (
diff --git a/src/components/orbit-site/ThemeSelector.tsx b/src/components/orbit-site/ThemeSelector.tsx index e48ad79..e2efa2f 100644 --- a/src/components/orbit-site/ThemeSelector.tsx +++ b/src/components/orbit-site/ThemeSelector.tsx @@ -1,6 +1,6 @@ import useTheme from "@/hooks/useTheme"; import { cn } from "@/lib/utils"; -import { Moon, Sun } from "@phosphor-icons/react"; +import { MoonIcon, SunIcon } from "@phosphor-icons/react"; import { useState } from "react"; const ThemeSelector = () => { @@ -18,13 +18,13 @@ const ThemeSelector = () => { className="flex size-8 cursor-pointer items-center justify-center rounded-md hover:bg-neutral-200/60 dark:hover:bg-neutral-900" onClick={() => toggleTheme()} > - - - +

{toolUIPart.type} @@ -61,7 +61,7 @@ export function ToolInvocationCard({ ✓ Completed )}

-