A Prediction Market on the AT Protocol

refactor(components/avatar.tsx): move

Ciaran 8a3fb313 7e3c14d5

+3 -3
+2 -2
src/web/components/shared/avatar.tsx src/web/components/avatar.tsx
··· 1 1 import type { AppBskyActorDefs } from "@atcute/bluesky"; 2 - import { Drawer, DrawerContent, DrawerHeader, DrawerTitle, DrawerTrigger } from "../ui/drawer"; 2 + import { Drawer, DrawerContent, DrawerHeader, DrawerTitle, DrawerTrigger } from "@/web/components/ui/drawer"; 3 3 import { logout } from "@/web/lib/oauth"; 4 - import { Spinner } from "../ui/spinner"; 4 + import { Spinner } from "@/web/components/ui/spinner"; 5 5 6 6 export default function Avatar({ profile }: { profile?: AppBskyActorDefs.ProfileViewDetailed }) { 7 7 if (!profile) return <Spinner className="text-coral-500" />
+1 -1
src/web/providers/auth-context-provider.tsx
··· 5 5 import { useSessionStorage } from "usehooks-ts"; 6 6 import { AppBskyActorDefs } from "@atcute/bluesky"; 7 7 import type { Client } from "@atcute/client"; 8 - import Avatar from "../components/shared/avatar"; 8 + import Avatar from "../components/avatar"; 9 9 import { Input } from "../components/ui/input"; 10 10 import { Button } from "../components/ui/button"; 11 11 import { Spinner } from "../components/ui/spinner";