-
diff --git a/src/app/note/components/rootNote.tsx b/src/app/note/components/rootNote.tsx
index ceb01f02..0f38914b 100644
--- a/src/app/note/components/rootNote.tsx
+++ b/src/app/note/components/rootNote.tsx
@@ -76,7 +76,7 @@ export const RootNote = memo(function RootNote({ id, fallback }: { id: string; f
{data ? (
<>
-
+
diff --git a/src/app/note/components/user/default.tsx b/src/app/note/components/user/default.tsx
index 167b6711..0132c821 100644
--- a/src/app/note/components/user/default.tsx
+++ b/src/app/note/components/user/default.tsx
@@ -5,7 +5,6 @@ import { shortenKey } from '@lume/utils/shortenKey';
import dayjs from 'dayjs';
import relativeTime from 'dayjs/plugin/relativeTime';
-import Skeleton from 'react-loading-skeleton';
dayjs.extend(relativeTime);
@@ -13,21 +12,19 @@ export const NoteDefaultUser = ({ pubkey, time }: { pubkey: string; time: number
const { user } = useProfile(pubkey);
return (
-
-
+
+
-
-
-
- {user?.display_name || user?.name || }
-
-
+
+
+ {user?.display_name || user?.name ||
}
+
{user?.nip05 || shortenKey(pubkey)}
•
diff --git a/src/app/note/components/user/reply.tsx b/src/app/note/components/user/reply.tsx
index 99c196f4..16f1dd16 100644
--- a/src/app/note/components/user/reply.tsx
+++ b/src/app/note/components/user/reply.tsx
@@ -12,7 +12,7 @@ export default function NoteReplyUser({ pubkey, time }: { pubkey: string; time:
const { user } = useProfile(pubkey);
return (
-
+
-
+
-
+
{user?.display_name || user?.name || }
diff --git a/src/app/note/pages/index.page.tsx b/src/app/note/pages/index.page.tsx
index 853d292b..e6019320 100644
--- a/src/app/note/pages/index.page.tsx
+++ b/src/app/note/pages/index.page.tsx
@@ -42,8 +42,7 @@ export function Page() {
- {error &&
failed to load
}
- {!data ? (
+ {!data && error ? (