import * as React from "react"; import * as System from "~/components/system"; import * as Constants from "~/common/constants"; import { css } from "@emotion/react"; import { LoaderSpinner } from "~/components/system/components/Loaders"; import Section from "~/components/core/Section"; import ScenePage from "~/components/core/ScenePage"; import ScenePageHeader from "~/components/core/ScenePageHeader"; const STYLES_LABEL = css` font-family: ${Constants.font.semiBold}; font-size: 16px; margin-bottom: 16px; `; export default class SceneArchive extends React.Component { state = {}; async componentDidMount() { let networkViewer; try { const response = await fetch("/api/network"); const json = await response.json(); networkViewer = json.data; } catch (e) {} this.setState({ networkViewer, }); } render() { return ( Filecoin is currently in Testnet phase. You can use this tab to test and verify Filecoin deals with Testnet FIL. {this.state.networkViewer ? (
{ return { miner, }; } ), }} />
Info
{JSON.stringify(this.state.networkViewer.archive.info, null, 2)}
Status
{JSON.stringify( this.state.networkViewer.archive.status, null, 2 )}
Errors
{JSON.stringify( this.state.networkViewer.archive.errors, null, 2 )}
{ return { job: job.msg, }; }), }} />
) : ( )}
); } }