From dcf4a49840f406bf13e17febd144039372ebb1bc Mon Sep 17 00:00:00 2001 From: Sascha Date: Tue, 25 May 2021 17:25:47 +0200 Subject: Use spinner-icon instead of loading-text --- webui/src/components/ReopenBugButton/ReopenBugButton.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'webui/src/components/ReopenBugButton') diff --git a/webui/src/components/ReopenBugButton/ReopenBugButton.tsx b/webui/src/components/ReopenBugButton/ReopenBugButton.tsx index c9999ec1..e62c58df 100644 --- a/webui/src/components/ReopenBugButton/ReopenBugButton.tsx +++ b/webui/src/components/ReopenBugButton/ReopenBugButton.tsx @@ -1,6 +1,7 @@ import React from 'react'; import Button from '@material-ui/core/Button'; +import CircularProgress from '@material-ui/core/CircularProgress'; import { BugFragment } from 'src/pages/bug/Bug.generated'; import { TimelineDocument } from 'src/pages/bug/TimelineQuery.generated'; @@ -36,7 +37,7 @@ function ReopenBugButton({ bug, disabled }: Props) { }); } - if (loading) return
Loading...
; + if (loading) return ; if (error) return
Error
; return ( -- cgit