-
+
{profile?.displayName ?? profile.handle}
diff --git a/src/components/contentDisplay/searchPost/SearchPost.tsx b/src/components/contentDisplay/searchPost/SearchPost.tsx
index 345c0afb..28df2d34 100644
--- a/src/components/contentDisplay/searchPost/SearchPost.tsx
+++ b/src/components/contentDisplay/searchPost/SearchPost.tsx
@@ -39,7 +39,7 @@ export default function SearchPost(props: Props) {
}}
className="z-20 shrink-0 hover:brightness-90"
>
-
{profile?.displayName ?? profile.handle}
diff --git a/src/components/contentDisplay/searchPost/SearchPost.tsx b/src/components/contentDisplay/searchPost/SearchPost.tsx
index 345c0afb..28df2d34 100644
--- a/src/components/contentDisplay/searchPost/SearchPost.tsx
+++ b/src/components/contentDisplay/searchPost/SearchPost.tsx
@@ -39,7 +39,7 @@ export default function SearchPost(props: Props) {
}}
className="z-20 shrink-0 hover:brightness-90"
>
-
+
diff --git a/src/components/contentDisplay/threadPost/ThreadPost.tsx b/src/components/contentDisplay/threadPost/ThreadPost.tsx
index a0e7a1ee..99684cf1 100644
--- a/src/components/contentDisplay/threadPost/ThreadPost.tsx
+++ b/src/components/contentDisplay/threadPost/ThreadPost.tsx
@@ -66,7 +66,7 @@ export default function ThreadPost(props: Props) {
}}
className="z-20 shrink-0 hover:brightness-90"
>
-
+
diff --git a/src/components/dataDisplay/avatar/Avatar.tsx b/src/components/dataDisplay/avatar/Avatar.tsx
index b380fb52..1846c0cb 100644
--- a/src/components/dataDisplay/avatar/Avatar.tsx
+++ b/src/components/dataDisplay/avatar/Avatar.tsx
@@ -1,19 +1,18 @@
import Image from "next/image";
import FallbackAvatar from "@/assets/images/fallbackAvatar.png";
import { getAvatarSize } from "@/lib/utils/image";
-import { ProfileViewDetailed } from "@atproto/api/dist/client/types/app/bsky/actor/defs";
interface Props {
size?: AvatarSize;
- profile: ProfileViewDetailed | null | undefined;
+ src?: string;
}
export default function Avatar(props: Props) {
- const { size, profile } = props;
+ const { size, src } = props;
const [width, height] = getAvatarSize(size);
return (
-
+
{record.author.displayName ?? record.author.handle}{" "}
diff --git a/src/components/navigational/aside/Aside.tsx b/src/components/navigational/aside/Aside.tsx
index 08d7cdf5..bd984d04 100644
--- a/src/components/navigational/aside/Aside.tsx
+++ b/src/components/navigational/aside/Aside.tsx
@@ -24,7 +24,7 @@ export default async function Aside() {
href={`/dashboard/user/${profile?.handle}`}
className="max-w-[7rem] truncate hover:brightness-90"
>
-
+
diff --git a/src/components/navigational/topBar/TopBar.tsx b/src/components/navigational/topBar/TopBar.tsx
index 5db2d5b4..c5d86d19 100644
--- a/src/components/navigational/topBar/TopBar.tsx
+++ b/src/components/navigational/topBar/TopBar.tsx
@@ -30,7 +30,7 @@ export default function TopBar(props: Props) {
href={`/dashboard/user/${profile?.handle}`}
className="hover:brightness-90"
>
-
+
diff --git a/src/components/contentDisplay/threadPost/ThreadPost.tsx b/src/components/contentDisplay/threadPost/ThreadPost.tsx
index a0e7a1ee..99684cf1 100644
--- a/src/components/contentDisplay/threadPost/ThreadPost.tsx
+++ b/src/components/contentDisplay/threadPost/ThreadPost.tsx
@@ -66,7 +66,7 @@ export default function ThreadPost(props: Props) {
}}
className="z-20 shrink-0 hover:brightness-90"
>
-
+
diff --git a/src/components/dataDisplay/avatar/Avatar.tsx b/src/components/dataDisplay/avatar/Avatar.tsx
index b380fb52..1846c0cb 100644
--- a/src/components/dataDisplay/avatar/Avatar.tsx
+++ b/src/components/dataDisplay/avatar/Avatar.tsx
@@ -1,19 +1,18 @@
import Image from "next/image";
import FallbackAvatar from "@/assets/images/fallbackAvatar.png";
import { getAvatarSize } from "@/lib/utils/image";
-import { ProfileViewDetailed } from "@atproto/api/dist/client/types/app/bsky/actor/defs";
interface Props {
size?: AvatarSize;
- profile: ProfileViewDetailed | null | undefined;
+ src?: string;
}
export default function Avatar(props: Props) {
- const { size, profile } = props;
+ const { size, src } = props;
const [width, height] = getAvatarSize(size);
return (
+
-
+
{record.author.displayName ?? record.author.handle}{" "}
diff --git a/src/components/navigational/aside/Aside.tsx b/src/components/navigational/aside/Aside.tsx
index 08d7cdf5..bd984d04 100644
--- a/src/components/navigational/aside/Aside.tsx
+++ b/src/components/navigational/aside/Aside.tsx
@@ -24,7 +24,7 @@ export default async function Aside() {
href={`/dashboard/user/${profile?.handle}`}
className="max-w-[7rem] truncate hover:brightness-90"
>
-
+
diff --git a/src/components/navigational/topBar/TopBar.tsx b/src/components/navigational/topBar/TopBar.tsx
index 5db2d5b4..c5d86d19 100644
--- a/src/components/navigational/topBar/TopBar.tsx
+++ b/src/components/navigational/topBar/TopBar.tsx
@@ -30,7 +30,7 @@ export default function TopBar(props: Props) {
href={`/dashboard/user/${profile?.handle}`}
className="hover:brightness-90"
>
-