fixed following filter
This commit is contained in:
parent
5eb2a25591
commit
2bb1c9725d
2 changed files with 3 additions and 12 deletions
|
@ -9,14 +9,7 @@
|
|||
|
||||
<p>
|
||||
<Button clickFunc={() => { window.location.search = setLocation(window.location,'type',('all')) }}>All users</Button>
|
||||
<Button clickFunc={() => { window.location.search = setLocation(window.location,'type',('follow')) }}>Followers only</Button>
|
||||
<Button clickFunc={() => { window.location.search = setLocation(window.location,'type',('follow')) }}>Following only</Button>
|
||||
</p>
|
||||
|
||||
<PostList data={data} />
|
||||
|
||||
<p>
|
||||
{#if data.id > 0}
|
||||
<Button clickFunc={() => { window.location.search = setLocation(window.location,'page',((data.id)-1)) }}>Previous page</Button>
|
||||
{/if}
|
||||
<Button clickFunc={() => { window.location.search = setLocation(window.location,'page',((data.id)+1)) }}>Next page</Button>
|
||||
</p>
|
||||
<PostList data={data} />
|
Loading…
Add table
Add a link
Reference in a new issue