Skip to content

Commit

Permalink
chore: show ledger not supported message
Browse files Browse the repository at this point in the history
  • Loading branch information
michael1011 committed Oct 6, 2024
1 parent 7218313 commit a3c3adb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/components/ConnectWallet.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,12 @@ const Modal = ({
<hr />
<div
class="provider-modal-entry"
data-disabled={provider.disabled}>
data-disabled={provider.disabled}
title={
provider.disabled
? t("not_supported_in_browser")
: undefined
}>
<Show when={provider.icon !== undefined}>
<img
class="provider-modal-icon"
Expand Down
1 change: 1 addition & 0 deletions src/i18n/i18n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,7 @@ const dict = {
select_wallet: "Select wallet",
select_derivation_path: "Select derivation path",
submit_derivation_path: "Submit",
not_supported_in_browser: "Not supported in this browser",
switch_network: "Switch network",
block: "block",
logs_scan_progress: "Scan progress {{ value }}%",
Expand Down

0 comments on commit a3c3adb

Please sign in to comment.