From fccf63335c5bc7768cdb202e4ea067184ca763da Mon Sep 17 00:00:00 2001 From: Oliver Sand Date: Tue, 16 Feb 2021 12:25:15 +0100 Subject: [PATCH] Fix typos --- .../api-docs/src/components/ApisCards/ProvidedApisCard.test.tsx | 2 +- plugins/api-docs/src/components/ApisCards/ProvidedApisCard.tsx | 2 +- plugins/api-docs/src/components/ApisCards/presets.tsx | 2 +- plugins/catalog-react/src/components/EntityTable/columns.tsx | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/api-docs/src/components/ApisCards/ProvidedApisCard.test.tsx b/plugins/api-docs/src/components/ApisCards/ProvidedApisCard.test.tsx index bb4d0ac82f..0d49cc328d 100644 --- a/plugins/api-docs/src/components/ApisCards/ProvidedApisCard.test.tsx +++ b/plugins/api-docs/src/components/ApisCards/ProvidedApisCard.test.tsx @@ -74,7 +74,7 @@ describe('', () => { ); expect(getByText(/Provided APIs/i)).toBeInTheDocument(); - expect(getByText(/No Component provides this API/i)).toBeInTheDocument(); + expect(getByText(/No component provides this API/i)).toBeInTheDocument(); }); it('shows consumed APIs', async () => { diff --git a/plugins/api-docs/src/components/ApisCards/ProvidedApisCard.tsx b/plugins/api-docs/src/components/ApisCards/ProvidedApisCard.tsx index b1f9f47848..53e2cd9558 100644 --- a/plugins/api-docs/src/components/ApisCards/ProvidedApisCard.tsx +++ b/plugins/api-docs/src/components/ApisCards/ProvidedApisCard.tsx @@ -83,7 +83,7 @@ export const ProvidedApisCard = ({ variant = 'gridItem' }: Props) => { variant={variant} emptyContent={
- No Component provides this API.{' '} + No component provides this API.{' '} Learn how to provide APIs. diff --git a/plugins/api-docs/src/components/ApisCards/presets.tsx b/plugins/api-docs/src/components/ApisCards/presets.tsx index c7fc4420df..151cccf846 100644 --- a/plugins/api-docs/src/components/ApisCards/presets.tsx +++ b/plugins/api-docs/src/components/ApisCards/presets.tsx @@ -29,7 +29,7 @@ export function createSpecApiTypeColumn(): TableColumn { } // TODO: This could be moved to plugin-catalog-react if we wouldn't have a -// special createSpecApiTypeColumn. But this is requited to use ApiTypeTitle to +// special createSpecApiTypeColumn. But this is required to use ApiTypeTitle to // resolve the display name of an entity. Is the display name really worth it? export const apiEntityColumns: TableColumn[] = [ diff --git a/plugins/catalog-react/src/components/EntityTable/columns.tsx b/plugins/catalog-react/src/components/EntityTable/columns.tsx index 01ed288c13..7ca99b1100 100644 --- a/plugins/catalog-react/src/components/EntityTable/columns.tsx +++ b/plugins/catalog-react/src/components/EntityTable/columns.tsx @@ -48,7 +48,7 @@ export function createEntityRefColumn({ // each field that is displayed individually (kind, namespace, name). // but that migth confuse the user as it will behave different than a // simple text search. - // Another altnerative would be to cache the values. But writing them + // Another alternative would be to cache the values. But writing them // into the entity feels bad too. return formatContent(entity).includes(filter); },