mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-02-13 03:26:21 +01:00
Test add this condition to see how it works
This commit is contained in:
parent
7e869949e2
commit
8e19d098eb
1 changed files with 2 additions and 3 deletions
|
@ -247,9 +247,8 @@ function Home({ hidden }) {
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
{snapStates.homeNew.length > 0 &&
|
{snapStates.homeNew.length > 0 &&
|
||||||
scrollDirection === 'up' &&
|
((scrollDirection === 'up' && !nearReachTop && !nearReachBottom) ||
|
||||||
!nearReachTop &&
|
reachTop) && (
|
||||||
!nearReachBottom && (
|
|
||||||
<button
|
<button
|
||||||
class="updates-button"
|
class="updates-button"
|
||||||
type="button"
|
type="button"
|
||||||
|
|
Loading…
Reference in a new issue