import { NextPage } from 'next'; import useOneAnvil from '../lib/anvil/useOneAnvil'; const DemoAnvilStatus: NextPage = (): JSX.Element => { const { anvilStatus: { nodes, timestamp }, error, isLoading, } = useOneAnvil(`d61c0383-5d82-4d9f-a193-b4a31cff1ceb`); return (
{JSON.stringify(nodes, null, 4)}
{timestamp}
{isLoading}
{error?.message}