aboutsummaryrefslogtreecommitdiffstats
path: root/webui/src/components/CloseBugButton/CloseBugButton.tsx
diff options
context:
space:
mode:
authorSascha <GlancingMind@outlook.com>2021-05-25 17:25:47 +0200
committerSascha <GlancingMind@outlook.com>2021-05-26 12:52:07 +0200
commitdcf4a49840f406bf13e17febd144039372ebb1bc (patch)
treec5e5d8c456da04c2853d13a95a0b4e7eef109d2f /webui/src/components/CloseBugButton/CloseBugButton.tsx
parent6f6831e18d08773540a4c897866985c0bf950de5 (diff)
downloadgit-bug-dcf4a49840f406bf13e17febd144039372ebb1bc.tar.gz
Use spinner-icon instead of loading-text
Diffstat (limited to 'webui/src/components/CloseBugButton/CloseBugButton.tsx')
-rw-r--r--webui/src/components/CloseBugButton/CloseBugButton.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/webui/src/components/CloseBugButton/CloseBugButton.tsx b/webui/src/components/CloseBugButton/CloseBugButton.tsx
index 5ec78bb2..bb154ea7 100644
--- a/webui/src/components/CloseBugButton/CloseBugButton.tsx
+++ b/webui/src/components/CloseBugButton/CloseBugButton.tsx
@@ -1,6 +1,7 @@
import React from 'react';
import Button from '@material-ui/core/Button';
+import CircularProgress from '@material-ui/core/CircularProgress';
import { makeStyles, Theme } from '@material-ui/core/styles';
import ErrorOutlineIcon from '@material-ui/icons/ErrorOutline';
@@ -46,7 +47,7 @@ function CloseBugButton({ bug, disabled }: Props) {
});
}
- if (loading) return <div>Loading...</div>;
+ if (loading) return <CircularProgress />;
if (error) return <div>Error</div>;
return (