packages/page-explorer/src/NodeInfo/index.tsx
Function NodeInfo
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function NodeInfo (): React.ReactElement {
const { t } = useTranslation();
const { api } = useApi();
const [info, setInfo] = useState<Partial<Info>>({});
const [nextRefresh, setNextRefresh] = useState(() => Date.now());