fix: Update event fetching limits and kinds in ProfileFeed and ProfileQuickViewFeed components

This commit is contained in:
2025-05-01 13:02:16 +02:00
parent 524c7855a2
commit a65ebbf5af
2 changed files with 4 additions and 4 deletions

View File

@@ -12,12 +12,12 @@ interface ProfileFeedProps {
const ProfileFeed: React.FC<ProfileFeedProps> = ({ pubkey }) => {
const now = useRef(new Date());
const [limit, setLimit] = useState(10);
const [limit, setLimit] = useState(100);
const { events, isLoading } = useNostrEvents({
filter: {
authors: [pubkey],
kinds: [20],
kinds: [1, 20],
limit: limit,
},
});

View File

@@ -11,13 +11,13 @@ interface ProfileQuickViewFeedProps {
const ProfileQuickViewFeed: React.FC<ProfileQuickViewFeedProps> = ({ pubkey }) => {
const now = useRef(new Date()); // Make sure current time isn't re-rendered
const [limit, setLimit] = useState(20);
const [limit, setLimit] = useState(100);
const { isLoading, events } = useNostrEvents({
filter: {
authors: [pubkey],
limit: limit,
kinds: [20],
kinds: [1, 20],
},
});