From 7ee37f8b5d5de71c9c6dfe48888aaca6f92e3af2 Mon Sep 17 00:00:00 2001 From: Florian Duros Date: Wed, 20 Nov 2024 17:44:49 +0100 Subject: [PATCH] Use `InlineSpinner` instead of a loading text. --- src/components/views/room_settings/UrlPreviewSettings.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/views/room_settings/UrlPreviewSettings.tsx b/src/components/views/room_settings/UrlPreviewSettings.tsx index 3690f602abd..4ca63fd4a0d 100644 --- a/src/components/views/room_settings/UrlPreviewSettings.tsx +++ b/src/components/views/room_settings/UrlPreviewSettings.tsx @@ -11,6 +11,7 @@ Please see LICENSE files in the repository root for full details. import React, { ReactNode, JSX } from "react"; import { Room } from "matrix-js-sdk/src/matrix"; +import { InlineSpinner } from "@vector-im/compound-web"; import { _t } from "../../../languageHandler"; import SettingsStore from "../../../settings/SettingsStore"; @@ -46,7 +47,7 @@ export function UrlPreviewSettings({ room }: UrlPreviewSettingsProps): JSX.Eleme description={!isLoading && } > {isLoading ? ( - _t("common|loading") + ) : ( <>