We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent deadac0 commit 912f2beCopy full SHA for 912f2be
site/src/pages/HealthPage/HealthLayout.tsx
@@ -47,18 +47,18 @@ export const HealthLayout: FC = () => {
47
const link = useClassName(classNames.link, []);
48
const activeLink = useClassName(classNames.activeLink, []);
49
50
- if (isLoading || !healthStatus) {
+ if (error) {
51
return (
52
<div className="p-6">
53
- <Loader />
+ <ErrorAlert error={error} />
54
</div>
55
);
56
}
57
58
- if (error) {
+ if (isLoading || !healthStatus) {
59
60
61
- <ErrorAlert error={error} />
+ <Loader />
62
63
64
0 commit comments