diff options
author | dan <dan.abramov@gmail.com> | 2023-10-12 21:15:19 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-12 13:15:19 -0700 |
commit | 4431cfe2d2971577e9c0a4fa4ed83f0c52fb7540 (patch) | |
tree | b012b84a72c7c4c6bc4cfbcb545ff16a7fcb59e4 | |
parent | 997918547c7b9eaeecb0cb65e9360796e6777eb9 (diff) | |
download | voidsky-4431cfe2d2971577e9c0a4fa4ed83f0c52fb7540.tar.zst |
Fix crash when scrolling down on the web (#1684)
-rw-r--r-- | src/view/com/util/load-latest/LoadLatestBtn.tsx | 6 |
1 files 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 095ebea44..57c3baa5b 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', |