Web: fix Suggested Accounts tabs end of scroll detection (#8939)

This commit is contained in:
Bartosz Kaszubowski
2025-09-01 12:23:41 +02:00
committed by GitHub
parent 1c78f36a51
commit 0bda727e8b
+1 -1
View File
@@ -90,7 +90,7 @@ export function InterestTabs({
}
const canScrollLeft = scrollX > 0
const canScrollRight = scrollX < contentWidth - totalWidth
const canScrollRight = Math.ceil(scrollX) < contentWidth - totalWidth
const cleanupRef = useRef<(() => void) | null>(null)