import React, { Fragment } from 'react'; import { normalizeWhois } from '../../../helpers/helpers'; import { WHOIS_ICONS } from '../../../helpers/constants'; const getFormattedWhois = (value, t) => { const whoisInfo = normalizeWhois(value); const whoisKeys = Object.keys(whoisInfo); if (whoisKeys.length > 0) { return whoisKeys.map((key) => { const icon = WHOIS_ICONS[key]; return (