From 2726412782a4f3d6471e3ac747fcca569e777982 Mon Sep 17 00:00:00 2001 From: Ian McEwen Date: Thu, 10 Oct 2024 12:04:56 -0700 Subject: [PATCH] Use vice loading animation on instant launch page while loading (not that it takes long) --- src/components/instantlaunches/launch/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/instantlaunches/launch/index.js b/src/components/instantlaunches/launch/index.js index 529723b40..a83be0c02 100644 --- a/src/components/instantlaunches/launch/index.js +++ b/src/components/instantlaunches/launch/index.js @@ -23,6 +23,7 @@ import { useTranslation } from "i18n"; import isQueryLoading from "components/utils/isQueryLoading"; import InstantLaunchButtonWrapper from "components/instantlaunches/InstantLaunchButtonWrapper"; import withErrorAnnouncer from "components/error/withErrorAnnouncer"; +import LoadingAnimation from "components/vice/loading/LoadingAnimation"; const InstantLaunchStandalone = (props) => { const { id: instant_launch_id, showErrorAnnouncer } = props; @@ -59,7 +60,7 @@ const InstantLaunchStandalone = (props) => { const isLoading = isQueryLoading([status, isFetchingUsageSummary]); if (isLoading) { - return

... loading ...

; + return ; } else if (error) { return (