diff --git a/src/components/views/elements/DesktopBuildsNotice.tsx b/src/components/views/elements/DesktopBuildsNotice.tsx index f2441b83a478..7a293326bafb 100644 --- a/src/components/views/elements/DesktopBuildsNotice.tsx +++ b/src/components/views/elements/DesktopBuildsNotice.tsx @@ -37,19 +37,22 @@ export default function DesktopBuildsNotice({ isRoomEncrypted, kind }: IProps) { if (EventIndexPeg.get()) return null; if (EventIndexPeg.error) { - return <> - { _t("Message search initialisation failed, check your settings for more information", {}, { - a: sub => ( { - evt.preventDefault(); - dis.dispatch({ - action: Action.ViewUserSettings, - initialTabId: UserTab.Security, - }); - }}> - { sub } - ), - }) } - ; + return ( +
+ { _t("Message search initialisation failed, check your settings for more information", {}, { + a: sub => ( { + evt.preventDefault(); + dis.dispatch({ + action: Action.ViewUserSettings, + initialTabId: UserTab.Security, + }); + }}> + { sub } + ), + }) } +
+ ); } const { desktopBuilds, brand } = SdkConfig.get();