From 02b44443692148210f031f426652d8f730a22b80 Mon Sep 17 00:00:00 2001 From: Thibaud Colas Date: Tue, 12 Dec 2023 17:55:06 +0000 Subject: [PATCH] Drop c- prefix for loading spinner component --- client/src/components/LoadingSpinner/LoadingSpinner.scss | 2 +- client/src/components/LoadingSpinner/LoadingSpinner.tsx | 2 +- .../LoadingSpinner/__snapshots__/LoadingSpinner.test.js.snap | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/client/src/components/LoadingSpinner/LoadingSpinner.scss b/client/src/components/LoadingSpinner/LoadingSpinner.scss index 17b056a619..87c9ecfdee 100644 --- a/client/src/components/LoadingSpinner/LoadingSpinner.scss +++ b/client/src/components/LoadingSpinner/LoadingSpinner.scss @@ -1,4 +1,4 @@ -.c-spinner { +.w-spinner { display: inline-block; width: 1em; height: 1em; diff --git a/client/src/components/LoadingSpinner/LoadingSpinner.tsx b/client/src/components/LoadingSpinner/LoadingSpinner.tsx index 1e130e92b4..fe5b4c0ca0 100644 --- a/client/src/components/LoadingSpinner/LoadingSpinner.tsx +++ b/client/src/components/LoadingSpinner/LoadingSpinner.tsx @@ -8,7 +8,7 @@ import Icon from '../Icon/Icon'; */ const LoadingSpinner = () => ( - + {` ${gettext('Loading…')}`} ); diff --git a/client/src/components/LoadingSpinner/__snapshots__/LoadingSpinner.test.js.snap b/client/src/components/LoadingSpinner/__snapshots__/LoadingSpinner.test.js.snap index fc63554d97..4b2344e026 100644 --- a/client/src/components/LoadingSpinner/__snapshots__/LoadingSpinner.test.js.snap +++ b/client/src/components/LoadingSpinner/__snapshots__/LoadingSpinner.test.js.snap @@ -3,7 +3,7 @@ exports[`LoadingSpinner basic 1`] = ` Loading…