catalog: remove home page clocks

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2021-04-26 21:45:51 +02:00
parent 1a142ae8a4
commit 8b43d5f8a2
2 changed files with 3 additions and 11 deletions
+1 -1
View File
@@ -2,4 +2,4 @@
'@backstage/plugin-catalog': patch
---
Switch out the time-based personal greeting for a plain title on the catalog index page.
Switch out the time-based personal greeting for a plain title on the catalog index page, and remove the clocks for different timezones.
@@ -14,13 +14,7 @@
* limitations under the License.
*/
import {
configApiRef,
Header,
HomepageTimer,
Page,
useApi,
} from '@backstage/core';
import { configApiRef, Header, Page, useApi } from '@backstage/core';
import React from 'react';
type Props = {
@@ -37,9 +31,7 @@ const CatalogLayout = ({ children }: Props) => {
title={`${orgName} Catalog`}
subtitle={`Index of software components in ${orgName}`}
pageTitleOverride="Home"
>
<HomepageTimer />
</Header>
/>
{children}
</Page>
);