use Icon component

This commit is contained in:
Oliver Bryan
2026-01-17 22:12:29 +00:00
parent 20f755ef71
commit e2560b089b
21 changed files with 97 additions and 74 deletions

View File

@@ -1,5 +1,5 @@
import { UserRound } from "lucide-react";
import { useSession } from "@/components/session-provider";
import Icon from "@/components/ui/icon";
import { cn } from "@/lib/utils";
const FALLBACK_COLOURS = [
@@ -89,7 +89,7 @@ export default function Avatar({
) : name ? (
<span className={textClass}>{getInitials(name)}</span>
) : (
<UserRound className={"size-10"} />
<Icon icon="userRound" className={"size-10"} />
)}
</div>
);