From 0ddf761d3b55c3bdcc739c59b0614f8695cf7295 Mon Sep 17 00:00:00 2001 From: Kanchalai Tanglertsampan Date: Wed, 19 Apr 2017 16:28:09 -0700 Subject: [PATCH 1/2] Update test error when using 2.3 compiler --- types/fixed-data-table/fixed-data-table-tests.tsx | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/types/fixed-data-table/fixed-data-table-tests.tsx b/types/fixed-data-table/fixed-data-table-tests.tsx index f57ff3d946..66e85cd6b5 100644 --- a/types/fixed-data-table/fixed-data-table-tests.tsx +++ b/types/fixed-data-table/fixed-data-table-tests.tsx @@ -93,7 +93,11 @@ class MyTextCell extends React.Component { const {rowIndex, field, myData} = this.props; return ( - + {myData[rowIndex][field]} ); @@ -106,7 +110,11 @@ class MyLinkCell extends React.Component { const link: string = myData[rowIndex][field]; return ( - + {link} ); From 21a88925d2e18acee9764b4977d2c4666053a2ac Mon Sep 17 00:00:00 2001 From: Kanchalai Tanglertsampan Date: Tue, 25 Apr 2017 09:58:25 -0700 Subject: [PATCH 2/2] Fix indentation --- types/fixed-data-table/fixed-data-table-tests.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/types/fixed-data-table/fixed-data-table-tests.tsx b/types/fixed-data-table/fixed-data-table-tests.tsx index 66e85cd6b5..64b622b21f 100644 --- a/types/fixed-data-table/fixed-data-table-tests.tsx +++ b/types/fixed-data-table/fixed-data-table-tests.tsx @@ -111,10 +111,10 @@ class MyLinkCell extends React.Component { return ( + height={this.props.height} + rowIndex={this.props.rowIndex} + columnKey={this.props.columnKey} + className="link-cell"> {link} );