diff --git a/src/components/modals/providers-bottom-sheet.tsx b/src/components/modals/providers-bottom-sheet.tsx index 31f2e9ffb..bd4608a48 100644 --- a/src/components/modals/providers-bottom-sheet.tsx +++ b/src/components/modals/providers-bottom-sheet.tsx @@ -29,7 +29,7 @@ export function ProvidersBottomSheet({ ); const onPressProvider = useCallback( (providerId: string) => { - if (providerId === app.provider.id) { + if (providerId === initialProvider) { // close if selected same provider return onCloseModal(); }