chore: clean up

This commit is contained in:
reya
2024-11-01 13:14:47 +07:00
parent d37e2a3c80
commit 6ad8ffddf0
4 changed files with 35 additions and 18 deletions
+5 -3
View File
@@ -21,13 +21,15 @@ export const RepostNote = memo(function RepostNote({
{isLoading ? (
<div className="flex items-center justify-center h-20 gap-2">
<Spinner />
<span className="text-sm font-medium text-neutral-700 dark:text-neutral-300">
<p className="text-sm font-medium text-neutral-700 dark:text-neutral-300">
Loading event...
</span>
</p>
</div>
) : isError || !data ? (
<div className="flex items-center justify-center h-20">
Event not found within your current relay set
<p className="text-sm">
Repost event not found within your current relay set
</p>
</div>
) : (
<Note.Provider event={data}>