From 0f17f876d6b5f4b7481717d73ee9e40461000288 Mon Sep 17 00:00:00 2001 From: Suguru Hirahara Date: Mon, 19 Jun 2023 08:08:48 +0000 Subject: [PATCH] Fix style inconsistency on SecureBackupPanel (#11102) --- src/components/views/settings/SecureBackupPanel.tsx | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/components/views/settings/SecureBackupPanel.tsx b/src/components/views/settings/SecureBackupPanel.tsx index aabb1cb90c0..80f756a30f5 100644 --- a/src/components/views/settings/SecureBackupPanel.tsx +++ b/src/components/views/settings/SecureBackupPanel.tsx @@ -240,14 +240,20 @@ export default class SecureBackupPanel extends React.PureComponent<{}, IState> { let extraDetails: JSX.Element | undefined; const actions: JSX.Element[] = []; if (error) { - statusDescription =
{_t("Unable to load key backup status")}
; + statusDescription = ( + + {_t("Unable to load key backup status")} + + ); } else if (loading) { statusDescription = ; } else if (backupInfo) { let restoreButtonCaption = _t("Restore from Backup"); if (MatrixClientPeg.safeGet().getKeyBackupEnabled()) { - statusDescription =

✅ {_t("This session is backing up your keys.")}

; + statusDescription = ( + ✅ {_t("This session is backing up your keys.")} + ); } else { statusDescription = ( <>