diff --git a/client/src/routes/Details/AssetFile.tsx b/client/src/routes/Details/AssetFile.tsx index f6d4c9a..0c0164a 100644 --- a/client/src/routes/Details/AssetFile.tsx +++ b/client/src/routes/Details/AssetFile.tsx @@ -39,7 +39,7 @@ export default class AssetFile extends PureComponent< }) const { ocean } = this.context - + try { const accounts = await ocean.accounts.list() const service = ddo.findServiceByType('Access') @@ -75,6 +75,8 @@ export default class AssetFile extends PureComponent< public render() { const { ddo, file } = this.props + const { isLoading, message, error } = this.state + const { isLogged, startLogin } = this.context return (