Skip to content

Commit

Permalink
fix(HW-606): cant change network in web3 browser
Browse files Browse the repository at this point in the history
  • Loading branch information
iGroza committed Aug 15, 2024
1 parent 9fa4002 commit e6bf0d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/modals/providers-bottom-sheet.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down

0 comments on commit e6bf0d8

Please sign in to comment.