File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -87,8 +87,8 @@ export default function Balances() {
87
87
< Text > Your balances may currently be inaccurate.</ Text >
88
88
< Text > Learn More</ Text >
89
89
< Button
90
- onPress = { async ( ) => {
91
- await pauseSyncing . mutateAsync ( undefined ) ;
90
+ onPress = { ( ) => {
91
+ pauseSyncing . mutate ( undefined ) ;
92
92
} }
93
93
title = "Pause"
94
94
/>
@@ -102,8 +102,8 @@ export default function Balances() {
102
102
< Text > Your balances may currently be inaccurate.</ Text >
103
103
< Text > Learn More</ Text >
104
104
< Button
105
- onPress = { async ( ) => {
106
- await resumeSyncing . mutateAsync ( undefined ) ;
105
+ onPress = { ( ) => {
106
+ resumeSyncing . mutate ( undefined ) ;
107
107
} }
108
108
title = "Resume"
109
109
/>
Original file line number Diff line number Diff line change @@ -26,14 +26,14 @@ export default function MenuDebug() {
26
26
) }
27
27
< Text > { } </ Text >
28
28
< Button
29
- onPress = { async ( ) => {
30
- await resumeSyncing . mutateAsync ( undefined ) ;
29
+ onPress = { ( ) => {
30
+ resumeSyncing . mutate ( undefined ) ;
31
31
} }
32
32
title = "Resume Syncing"
33
33
/>
34
34
< Button
35
- onPress = { async ( ) => {
36
- await pauseSyncing . mutateAsync ( undefined ) ;
35
+ onPress = { ( ) => {
36
+ pauseSyncing . mutateAsync ( undefined ) ;
37
37
} }
38
38
title = "Pause Syncing"
39
39
/>
You can’t perform that action at this time.
0 commit comments