From 4e28fcdef20d48b0a2946fe588fa3a04089a56e9 Mon Sep 17 00:00:00 2001 From: Harry Hogg Date: Fri, 10 Sep 2021 14:59:02 +0100 Subject: [PATCH] fix(plugin-cloudbuild): "validateDOMNesting(...):

cannot appear as a descendant of

" error caused by unnecessary paragraph tags Signed-off-by: Harry Hogg --- .../WorkflowRunsTable/WorkflowRunsTable.tsx | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/plugins/cloudbuild/src/components/WorkflowRunsTable/WorkflowRunsTable.tsx b/plugins/cloudbuild/src/components/WorkflowRunsTable/WorkflowRunsTable.tsx index dd8046824e..0d00347183 100644 --- a/plugins/cloudbuild/src/components/WorkflowRunsTable/WorkflowRunsTable.tsx +++ b/plugins/cloudbuild/src/components/WorkflowRunsTable/WorkflowRunsTable.tsx @@ -45,7 +45,7 @@ const generatedColumns: TableColumn[] = [ width: '150px', render: (row: Partial) => ( -

{row.id?.substring(0, 8)}

+ {row.id?.substring(0, 8)} ), }, @@ -68,7 +68,7 @@ const generatedColumns: TableColumn[] = [ title: 'Ref', render: (row: Partial) => ( -

{row.substitutions?.BRANCH_NAME}

+ {row.substitutions?.BRANCH_NAME}
), }, @@ -76,7 +76,7 @@ const generatedColumns: TableColumn[] = [ title: 'Commit', render: (row: Partial) => ( -

{row.substitutions?.SHORT_SHA}

+ {row.substitutions?.SHORT_SHA}
), }, @@ -84,11 +84,9 @@ const generatedColumns: TableColumn[] = [ title: 'Created', render: (row: Partial) => ( -

- {DateTime.fromISO(row.createTime ?? DateTime.now().toISO()).toFormat( - 'dd-MM-yyyy hh:mm:ss', - )} -

+ {DateTime.fromISO(row.createTime ?? DateTime.now().toISO()).toFormat( + 'dd-MM-yyyy hh:mm:ss', + )}
), },