Skip to content

Commit

Permalink
refactor: update error text
Browse files Browse the repository at this point in the history
  • Loading branch information
findolor committed Oct 16, 2024
1 parent 8cd1372 commit c43ea82
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tauri-app/src/lib/components/ModalExecute.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
return existingNetwork[0];
}
return 'unknown';
return 'an unknown';
};
</script>

Expand Down
2 changes: 1 addition & 1 deletion tauri-app/src/lib/components/ModalExecute.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ describe('ModalExecute', () => {

const errorElement = screen.getByTestId('network-connection-error');
expect(errorElement).toHaveTextContent(
'You are connected to unknown network. Please connect your wallet to test network.',
'You are connected to an unknown network. Please connect your wallet to test network.',
);
});

Expand Down

0 comments on commit c43ea82

Please sign in to comment.