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

fix: account transfer form's status text #18088

Merged
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,21 @@ const AccountOption = ({
</Text>
);
} else if (is_server_maintenance) {
return <StatusBadge account_status='under_maintenance' icon='IcAlertWarning' text='Server Maintenance' />;
return (
<StatusBadge
account_status='under_maintenance'
icon='IcAlertWarning'
text={<Localize i18n_default_text='<0>Server Maintenance</0>' components={[<span key={0} />]} />}
/>
);
} else if (is_account_unavailable) {
return (
<StatusBadge
account_status={TRADING_PLATFORM_STATUS.UNAVAILABLE}
icon='IcAlertWarning'
text='Temporarily unavailable'
text={
<Localize i18n_default_text='<0>Temporarily unavailable</0>' components={[<span key={0} />]} />
}
/>
);
}
Expand Down
Loading