import React from "react" ; type Props = { setRouter : React . Dispatch < React . SetStateAction < string > > ; } ; const Form = ( { setRouter } ) => { return < div > < /div>; } ; export default React . memo ( Form ) ;