import React, { useContext } from "react"; import { RuntimeContext } from "./useRuntime"; const Footer: React.FC = () => { const { provider } = useContext(RuntimeContext); return (
{provider ? ( <>Using Erigon node at {provider.connection.url} ) : ( <>Waiting for the provider... )}
); }; export default React.memo(Footer);