Skip to content

Commit

Permalink
feat: only succeed when detected as installed
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurgeron committed Sep 23, 2024
1 parent 7bd370d commit eaacd77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react/src/providers/FuelUIProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ export function FuelUIProvider({
try {
const success = await connector?.ping().catch(() => false);

if (success || connector?.installed) {
if (success && connector?.installed) {
handleDialogAction(connector);
}
} catch (err) {
Expand Down

0 comments on commit eaacd77

Please sign in to comment.