forked from p15670423/monkey
Fix "Component definition is missing display name" eslint warnings
This commit is contained in:
parent
f267e5bbc0
commit
bbfc0d4130
|
@ -12,7 +12,7 @@ const columns = [
|
||||||
columns: [
|
columns: [
|
||||||
{
|
{
|
||||||
Header: 'Status', id: 'status',
|
Header: 'Status', id: 'status',
|
||||||
accessor: x => {
|
accessor: function getAccessor (x) {
|
||||||
return <StatusLabel status={x.status} size="3x" showText={false}/>;
|
return <StatusLabel status={x.status} size="3x" showText={false}/>;
|
||||||
},
|
},
|
||||||
maxWidth: MAX_WIDTH_STATUS_COLUMN
|
maxWidth: MAX_WIDTH_STATUS_COLUMN
|
||||||
|
@ -24,7 +24,7 @@ const columns = [
|
||||||
{
|
{
|
||||||
Header: 'Monkey Tests', id: 'tests',
|
Header: 'Monkey Tests', id: 'tests',
|
||||||
style: {'whiteSpace': 'unset'}, // This enables word wrap
|
style: {'whiteSpace': 'unset'}, // This enables word wrap
|
||||||
accessor: x => {
|
accessor: function getAccessor (x) {
|
||||||
return <TestsStatus tests={x.tests}/>;
|
return <TestsStatus tests={x.tests}/>;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue