-
- {addresses
- .slice(0, isExpanded ? addresses.length : MAX_TO_SHOW)
- .map((http) => {
- const address = `${http.hostname}:${http.port}`;
- return (
-
- {address}
-
- );
- })}
-
- {addresses.length > MAX_TO_SHOW && !isExpanded ? (
-
- ) : null}
-
-
-