diff --git a/src/components/CompanyProfileCard.tsx b/src/components/CompanyProfileCard.tsx index f72658d..77c25b1 100644 --- a/src/components/CompanyProfileCard.tsx +++ b/src/components/CompanyProfileCard.tsx @@ -1,4 +1,5 @@ import { useState, useEffect } from 'react'; +import PeersWidget from './PeersWidget'; interface CompanyProfileProps { ticker: string; @@ -51,29 +52,30 @@ const CompanyProfileCard = ({ ticker }: CompanyProfileProps) => { } return ( -
{profile.ticker} | {profile.finnhubIndustry}
+{profile.ticker} | {profile.finnhubIndustry}
Country: {profile.country}
-Currency: {profile.currency}
-Exchange: {profile.exchange}
-Market Cap: ${profile.marketCapitalization.toFixed(2)}B
+Country: {profile.country}
+Currency: {profile.currency}
+Exchange: {profile.exchange}
+Market Cap: ${profile.marketCapitalization.toFixed(2)}B
IPO Date: {new Date(profile.ipo).toLocaleDateString()}
-Outstanding Shares: {profile.shareOutstanding.toFixed(2)}M
-Phone: {profile.phone}
-Website: {profile.weburl}
+IPO Date: {new Date(profile.ipo).toLocaleDateString()}
+Outstanding Shares: {profile.shareOutstanding.toFixed(2)}M
+Phone: {profile.phone}
+Website: {profile.weburl}