diff --git a/tubearchivist/www/src/pages/channel.tsx b/tubearchivist/www/src/pages/channel.tsx index 3e87d35..a9c6d34 100644 --- a/tubearchivist/www/src/pages/channel.tsx +++ b/tubearchivist/www/src/pages/channel.tsx @@ -6,6 +6,7 @@ import { CustomHead } from "../components/CustomHead"; import { Layout } from "../components/Layout"; import { getTAUrl } from "../lib/constants"; import { getChannels } from "../lib/getChannels"; +import { formatNumbers } from "../lib/utils"; const TA_BASE_URL = getTAUrl(); @@ -170,7 +171,7 @@ const Channel: NextPage = () => { {/* {% if channel.source.channel_subs >= 1000000 %} */} -

Subscribers: {channel?.channel_subs}

+

Subscribers: {formatNumbers(channel?.channel_subs)}

{/* {% else %} */}