import React from "react"; import { NavLink } from "react-router-dom"; type AddressLinkProps = { address: string; text?: string; dontOverrideColors?: boolean; }; const AddressLink: React.FC = ({ address, text, dontOverrideColors, }) => ( {text ?? address} ); export default React.memo(AddressLink);