Skip to content

Commit eed84a1

Browse files
committed
no need for this actually
1 parent 0914b6c commit eed84a1

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

example/src/screens/PaymentsUICompleteScreen.tsx

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -302,16 +302,6 @@ export default function PaymentsUICompleteScreen() {
302302
}}
303303
onPress={() => {
304304
setAppearanceSettings(option.value);
305-
(async () => {
306-
setLoading(true);
307-
try {
308-
await initialisePaymentSheet();
309-
} catch (error) {
310-
console.error('Error initializing payment sheet:', error);
311-
} finally {
312-
setLoading(false);
313-
}
314-
})();
315305
}}
316306
>
317307
<Text

0 commit comments

Comments
 (0)