Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/improve api error states #1233

Merged
merged 3 commits into from
Apr 30, 2024

Conversation

aristidesstaffieri
Copy link
Contributor

What
Disables send link when account balances are unavailable
Adds error state for account history, with notification

Why
Currently if we fail to get account balances, users can still attempt to go through the payment flow even though it won't work
Currently we display an empty history page with no error message if we fail to get account history

allAccounts: Account[];
currentAccountName: string;
publicKey: string;
setLoading: (isLoading: boolean) => void;
}

export const AccountHeader = ({
// accountDropDownRef,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this just an unused prop now? should we get rid of it?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yup it is, at some point it went from an unused prop to a commented out one so I deleted it.

@aristidesstaffieri aristidesstaffieri changed the base branch from master to release/5.18.3 April 30, 2024 18:41
@aristidesstaffieri aristidesstaffieri merged commit e969800 into release/5.18.3 Apr 30, 2024
7 checks passed
@aristidesstaffieri aristidesstaffieri deleted the feature/improve-api-error-states branch April 30, 2024 18:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants