Fix "Component definition is missing display name" eslint warnings

This commit is contained in:
Shreya 2021-04-12 17:20:31 +05:30
parent f267e5bbc0
commit bbfc0d4130
1 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ const columns = [
columns: [
{
Header: 'Status', id: 'status',
accessor: x => {
accessor: function getAccessor (x) {
return <StatusLabel status={x.status} size="3x" showText={false}/>;
},
maxWidth: MAX_WIDTH_STATUS_COLUMN
@ -24,7 +24,7 @@ const columns = [
{
Header: 'Monkey Tests', id: 'tests',
style: {'whiteSpace': 'unset'}, // This enables word wrap
accessor: x => {
accessor: function getAccessor (x) {
return <TestsStatus tests={x.tests}/>;
}
}