Merge pull request #44 from dxos/release-moon

lint
This commit is contained in:
Thomas E Lackey 2020-08-27 13:46:24 -05:00 committed by GitHub
commit fbe1428c09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 9 deletions

View File

@ -54,10 +54,7 @@ const AppRecords = () => {
return ( return (
<TableRow key={id} size='small'> <TableRow key={id} size='small'>
<TableCell monospace> <TableCell monospace>
{names.map(wrn => <div> {names.map(wrn => <div key={wrn}> <AppLink config={config} wrn={wrn} /> </div>)}
<AppLink config={config} wrn={wrn} />
</div>
)}
</TableCell> </TableCell>
<TableCell monospace> <TableCell monospace>
{version} {version}

View File

@ -46,7 +46,7 @@ const BotRecords = () => {
{records.sort(sorter).map(({ id, names, createTime, attributes: { name: displayName, version } }) => { {records.sort(sorter).map(({ id, names, createTime, attributes: { name: displayName, version } }) => {
return ( return (
<TableRow key={id} size='small'> <TableRow key={id} size='small'>
<TableCell monospace>{names.map(name => <div>{name}</div>)}</TableCell> <TableCell monospace>{names.map(name => <div key={name}>{name}</div>)}</TableCell>
<TableCell monospace>{version}</TableCell> <TableCell monospace>{version}</TableCell>
<TableCell>{displayName}</TableCell> <TableCell>{displayName}</TableCell>
<TableCell>{moment.utc(createTime).fromNow()}</TableCell> <TableCell>{moment.utc(createTime).fromNow()}</TableCell>

View File

@ -107,7 +107,7 @@ const WNSRecords = ({ type }) => {
appLinks = ( appLinks = (
<> <>
{names.map(wrn => {names.map(wrn =>
<div> <div key={wrn}>
<AppLink config={config} wrn={wrn} /> <AppLink config={config} wrn={wrn} />
</div> </div>
)} )}
@ -119,7 +119,7 @@ const WNSRecords = ({ type }) => {
<TableRow key={id} size='small'> <TableRow key={id} size='small'>
<TableCell monospace>{type}</TableCell> <TableCell monospace>{type}</TableCell>
<TableCell monospace> <TableCell monospace>
{appLinks || names.map(name => <div>{name}</div>)} {appLinks || names.map(name => <div key={name}>{name}</div>)}
</TableCell> </TableCell>
<TableCell monospace> <TableCell monospace>
{version} {version}

View File

@ -1,7 +1,7 @@
{ {
"build": { "build": {
"name": "@dxos/console-app", "name": "@dxos/console-app",
"buildDate": "2020-08-27T18:22:17.963Z", "buildDate": "2020-08-27T18:43:11.239Z",
"version": "1.0.0-moon.0" "version": "1.1.0-beta.0"
} }
} }