import React from "react";
import { ErrorCard } from "components/common/ErrorCard";
import { BlockOverviewCard } from "components/block/BlockOverviewCard";
// IE11 doesn't support Number.MAX_SAFE_INTEGER
const MAX_SAFE_INTEGER = 9007199254740991;
type Props = { slot: string; tab?: string };
export function BlockDetailsPage({ slot, tab }: Props) {
const slotNumber = Number(slot);
let output =