Skip to content

Commit d8ba2e5

Browse files
committed
fix: retry button
1 parent 57f79aa commit d8ba2e5

File tree

5 files changed

+4
-4
lines changed

5 files changed

+4
-4
lines changed

src/renderer/entities/contact/ui/BackendErrorView.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,13 @@ export const BackendErrorView = ({ error, onRetry }: Props) => {
3434
const { t } = useI18n();
3535

3636
return (
37-
<div className="flex flex-col gap-y-3 py-4">
37+
<div className="py-4">
3838
<Alert title={t(getErrorMessageKey(error))} active variant="error">
3939
<CaptionText className="break-all text-text-tertiary">{error}</CaptionText>
40+
<Button variant="text" className="h-4.5 self-start p-0" onClick={onRetry}>
41+
{t('addressBook.sources.retry')}
42+
</Button>
4043
</Alert>
41-
<Button variant="text" className="h-4.5 self-center" onClick={onRetry}>
42-
{t('addressBook.sources.retry')}
43-
</Button>
4444
</div>
4545
);
4646
};
5 Bytes
Loading
9 Bytes
Loading
-1 Bytes
Loading
6 Bytes
Loading

0 commit comments

Comments
 (0)