mirror of
https://github.com/PrimalHQ/primal-web-app.git
synced 2024-10-01 17:31:13 +00:00
Fix Profile tab pagination
This commit is contained in:
parent
d20836a002
commit
371b55aa44
@ -276,9 +276,12 @@ const ProfileTabs: Component<{
|
|||||||
<Note note={note} shorten={true} />
|
<Note note={note} shorten={true} />
|
||||||
)}
|
)}
|
||||||
</For>
|
</For>
|
||||||
<Paginator loadNextPage={() => {
|
<Paginator
|
||||||
profile?.actions.fetchNextPage();
|
loadNextPage={() => {
|
||||||
}}/>
|
profile?.actions.fetchNextPage();
|
||||||
|
}}
|
||||||
|
isSmall={true}
|
||||||
|
/>
|
||||||
</Match>
|
</Match>
|
||||||
</Switch>
|
</Switch>
|
||||||
</div>
|
</div>
|
||||||
@ -329,9 +332,12 @@ const ProfileTabs: Component<{
|
|||||||
<Note note={reply} shorten={true} />
|
<Note note={reply} shorten={true} />
|
||||||
)}
|
)}
|
||||||
</For>
|
</For>
|
||||||
<Paginator loadNextPage={() => {
|
<Paginator
|
||||||
profile?.actions.fetchNextRepliesPage();
|
loadNextPage={() => {
|
||||||
}}/>
|
profile?.actions.fetchNextRepliesPage();
|
||||||
|
}}
|
||||||
|
isSmall={true}
|
||||||
|
/>
|
||||||
</Match>
|
</Match>
|
||||||
</Switch>
|
</Switch>
|
||||||
</div>
|
</div>
|
||||||
@ -364,7 +370,7 @@ const ProfileTabs: Component<{
|
|||||||
/>
|
/>
|
||||||
</div>}
|
</div>}
|
||||||
</For>
|
</For>
|
||||||
<Paginator loadNextPage={loadMoreFollows}/>
|
<Paginator loadNextPage={loadMoreFollows} isSmall={true} />
|
||||||
</Show>
|
</Show>
|
||||||
</div>
|
</div>
|
||||||
</Tabs.Content>
|
</Tabs.Content>
|
||||||
@ -400,7 +406,7 @@ const ProfileTabs: Component<{
|
|||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
</For>
|
</For>
|
||||||
<Paginator loadNextPage={loadMoreFollowers}/>
|
<Paginator loadNextPage={loadMoreFollowers} isSmall={true} />
|
||||||
</Show>
|
</Show>
|
||||||
</div>
|
</div>
|
||||||
</Tabs.Content>
|
</Tabs.Content>
|
||||||
@ -475,7 +481,7 @@ const ProfileTabs: Component<{
|
|||||||
</A>
|
</A>
|
||||||
}
|
}
|
||||||
</For>
|
</For>
|
||||||
<Paginator loadNextPage={profile?.actions.fetchNextZapsPage}/>
|
<Paginator loadNextPage={profile?.actions.fetchNextZapsPage} isSmall={true} />
|
||||||
</Show>
|
</Show>
|
||||||
</div>
|
</div>
|
||||||
</Tabs.Content>
|
</Tabs.Content>
|
||||||
|
Loading…
Reference in New Issue
Block a user