Test add this condition to see how it works

This commit is contained in:
Lim Chee Aun 2023-01-04 17:12:44 +08:00
parent 7e869949e2
commit 8e19d098eb

View file

@ -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"