mirror of
https://github.com/cheeaun/phanpy.git
synced 2024-11-24 10:15:37 +03:00
Set to 2
This commit is contained in:
parent
d8e94270ad
commit
0a4898059b
1 changed files with 2 additions and 1 deletions
|
@ -85,7 +85,8 @@ function Home({ hidden }) {
|
|||
setTimeout(() => {
|
||||
(async () => {
|
||||
const newStatus = await masto.timelines.fetchHome({
|
||||
limit: 1,
|
||||
limit: 2,
|
||||
// Need 2 because "new posts" only appear when there are 2 or more
|
||||
});
|
||||
if (newStatus.length && newStatus[0].id !== states.home[0].id) {
|
||||
states.homeNew = newStatus;
|
||||
|
|
Loading…
Reference in a new issue