Skip to content

Commit

Permalink
fix: improve ledger error messaging
Browse files Browse the repository at this point in the history
chore(release): 4.0.0-beta.23 [skip ci]

* improve ledger error messaging ([894f8a6](894f8a6))
  • Loading branch information
kyranjamie committed Jan 14, 2021
1 parent 3584072 commit 420d5d6
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 4 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# [4.0.0-beta.23](https://github.com/blockstack/stacks-wallet/compare/v4.0.0-beta.22...v4.0.0-beta.23) (2021-01-13)


### Bug Fixes

* improve ledger error messaging ([894f8a6](https://github.com/blockstack/stacks-wallet/commit/894f8a6c442ec9d910d19d79920d8ed9abc34b17))

# [4.0.0-beta.22](https://github.com/blockstack/stacks-wallet/compare/v4.0.0-beta.21...v4.0.0-beta.22) (2021-01-13)


Expand Down
6 changes: 5 additions & 1 deletion app/hooks/use-ledger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,11 @@ export function useLedger() {
})
);
if (error) {
setUsbError('Unable to connect to device. You may need to configure your udev rules.');
setUsbError(
`Unable to connect to device. Make sure you're using a USB data cable. Ensure other apps using your hardware wallet, such as Ledger Live, are closed. ${
process.platform === 'linux' ? 'You may need to configure your udev rules.' : ''
}`
);
return;
}
if (resp) {
Expand Down
2 changes: 1 addition & 1 deletion app/pages/onboarding/00-terms/terms.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export const Terms: React.FC = () => {
const history = useHistory();
useBackButton(null);
return (
<Onboarding maxWidth="800px">
<Onboarding maxWidth="800px" px="base-loose">
<OnboardingTitle mb="base" mt="extra-loose">
Terms of Service
</OnboardingTitle>
Expand Down
2 changes: 1 addition & 1 deletion app/pages/onboarding/04-connect-ledger/connect-ledger.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export const ConnectLedger: React.FC = () => {
return (
<Onboarding>
<OnboardingTitle>Connect your Ledger</OnboardingTitle>
<OnboardingText>Follow these steps to connect your Ledger S or X</OnboardingText>
<OnboardingText>Follow these steps to connect your Ledger Nano S or X</OnboardingText>

<LedgerConnectInstructions
action="Confirm your address"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "stacks-wallet",
"version": "4.0.0-beta.22",
"version": "4.0.0-beta.23",
"description": "Stacks Wallet 2.0 — Stacking",
"prettier": "@stacks/prettier-config",
"homepage": "https://www.blockstack.org/testnet-wallet",
Expand Down

0 comments on commit 420d5d6

Please sign in to comment.