From 4431cfe2d2971577e9c0a4fa4ed83f0c52fb7540 Mon Sep 17 00:00:00 2001 From: dan Date: Thu, 12 Oct 2023 21:15:19 +0100 Subject: [PATCH] Fix crash when scrolling down on the web (#1684) --- src/view/com/util/load-latest/LoadLatestBtn.tsx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/view/com/util/load-latest/LoadLatestBtn.tsx b/src/view/com/util/load-latest/LoadLatestBtn.tsx index 095ebea448..57c3baa5b2 100644 --- a/src/view/com/util/load-latest/LoadLatestBtn.tsx +++ b/src/view/com/util/load-latest/LoadLatestBtn.tsx @@ -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',