Skip to content

Commit

Permalink
avaiable->available typo fix (#664) (#665)
Browse files Browse the repository at this point in the history
Co-authored-by: Carlos Downie <[email protected]>
durack1 and downiec authored Oct 18, 2024
1 parent 5559b42 commit 93fd772
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/src/components/Search/Table.test.tsx
Original file line number Diff line number Diff line change
@@ -79,7 +79,7 @@ describe('test main table UI', () => {
// Check the dataset title include retracted warning
const cell = await within(table).findByRole('cell', {
name:
'foo IMPORTANT! This dataset has been retracted and is no longer avaiable for download.',
'foo IMPORTANT! This dataset has been retracted and is no longer available for download.',
});
expect(cell).toBeTruthy();

2 changes: 1 addition & 1 deletion frontend/src/components/Search/Table.tsx
Original file line number Diff line number Diff line change
@@ -197,7 +197,7 @@ const Table: React.FC<React.PropsWithChildren<Props>> = ({
render: (title: string, record: RawSearchResult) => {
if (record && record.retracted) {
const msg =
'IMPORTANT! This dataset has been retracted and is no longer avaiable for download.';
'IMPORTANT! This dataset has been retracted and is no longer available for download.';
return (
<div className={topDataRowTargets.datasetTitle.class()}>
<p>

0 comments on commit 93fd772

Please sign in to comment.