diff --git a/src/components/SimpleTable.js b/src/components/SimpleTable.js index 20054f206..5b15d2ca6 100644 --- a/src/components/SimpleTable.js +++ b/src/components/SimpleTable.js @@ -140,7 +140,7 @@ export default function SimpleTable(props) { const {baseStyle, columnStyle, containerOverride} = styles; const columnRow = ; - const tableTemplate = [ columnRow, ]; + const tableTemplate = [columnRow, ]; const output = isLoading ? : tableTemplate; return (
diff --git a/src/components/dac_dataset_table/DACDatasetApprovalStatus.js b/src/components/dac_dataset_table/DACDatasetApprovalStatus.js index cfed9efcd..b93d9ed8a 100644 --- a/src/components/dac_dataset_table/DACDatasetApprovalStatus.js +++ b/src/components/dac_dataset_table/DACDatasetApprovalStatus.js @@ -33,7 +33,7 @@ export default function DACDatasetApprovalStatus(props) { } catch { Notifications.showError({text: `Error deleting dataset '${name}'`}); } - } + }; const updateApprovalStatus = async (approvalState) => { const updatedDataset = await DAC.updateApprovalStatus(dataset.dacId, dataset.dataSetId, approvalState); diff --git a/src/components/dac_dataset_table/DACDatasetTableCellData.js b/src/components/dac_dataset_table/DACDatasetTableCellData.js index c50477013..0dbbadfd9 100644 --- a/src/components/dac_dataset_table/DACDatasetTableCellData.js +++ b/src/components/dac_dataset_table/DACDatasetTableCellData.js @@ -44,7 +44,7 @@ export function datasetNameCellData({dataset, label = 'datasetNameCellData'}) { export function dataCustodianCellData({dataset, label = 'dataCustodianCellData'}) { // Newer datasets have a list of data custodian emails. // Older datasets may or may not have a data depositor - const displayValue = firstNonEmptyPropertyValue(dataset, [ 'Data Custodian Email', 'Data Depositor', 'dataCustodianEmail' ]); + const displayValue = firstNonEmptyPropertyValue(dataset, ['Data Custodian Email', 'Data Depositor', 'dataCustodianEmail']); return { data:
{displayValue}
, value: displayValue, diff --git a/src/pages/dar_application/ResearcherInfo.js b/src/pages/dar_application/ResearcherInfo.js index 4fd859308..06e6f1893 100644 --- a/src/pages/dar_application/ResearcherInfo.js +++ b/src/pages/dar_application/ResearcherInfo.js @@ -61,7 +61,7 @@ export default function ResearcherInfo(props) { !readOnlyMode && Alert({ id: 'profileSubmitted', type: 'danger', - title: span({ className: 'errored' }, [ + title: span({ className: 'errored' }, [ `You must submit `, profileLink, ` and obtain a `, libraryCardLink, ` from your Signing official before you can submit a Data Access Request.` ])