mirror of
https://github.com/oceanprotocol/commons.git
synced 2023-03-15 18:03:00 +01:00
linting
This commit is contained in:
parent
c6f1e35c54
commit
da361c98ff
@ -52,8 +52,7 @@ export default class AssetsUser extends PureComponent {
|
||||
.filter(asset => !!asset)
|
||||
.map((asset: any) => (
|
||||
<Asset key={asset.id} asset={asset} />
|
||||
))
|
||||
}
|
||||
))}
|
||||
</div>
|
||||
) : (
|
||||
<div>
|
||||
|
@ -45,8 +45,7 @@ export default class Invoices extends Component<{}, InvoicesState> {
|
||||
.filter(asset => !!asset)
|
||||
.map((asset, index) => (
|
||||
<Asset key={index} asset={asset} />
|
||||
))
|
||||
}
|
||||
))}
|
||||
</div>
|
||||
) : (
|
||||
<div>No invoices yet</div>
|
||||
|
@ -273,7 +273,10 @@ class Publish extends Component<{}, PublishState> {
|
||||
}
|
||||
|
||||
try {
|
||||
const asset = await this.context.ocean.assets.create(newAsset, account[0])
|
||||
const asset = await this.context.ocean.assets.create(
|
||||
newAsset,
|
||||
account[0]
|
||||
)
|
||||
this.setState({
|
||||
publishedDid: asset.id,
|
||||
isPublished: true
|
||||
|
Loading…
Reference in New Issue
Block a user