Fix crash when scrolling down on the web (#1684)

This commit is contained in:
dan 2023-10-12 21:15:19 +01:00 committed by GitHub
parent 997918547c
commit 4431cfe2d2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -74,14 +74,12 @@ const styles = StyleSheet.create({
loadLatestTablet: {
// @ts-ignore web only
left: '50vw',
// @ts-ignore web only -prf
transform: 'translateX(-282px)',
transform: [{translateX: -282}],
},
loadLatestDesktop: {
// @ts-ignore web only
left: '50vw',
// @ts-ignore web only -prf
transform: 'translateX(-382px)',
transform: [{translateX: -382}],
},
indicator: {
position: 'absolute',