From ff1a03f6f09e087d2f9defccb9b7fddc24927bbc Mon Sep 17 00:00:00 2001 From: Alexis Guzman Date: Wed, 24 Jul 2024 09:13:23 -0600 Subject: [PATCH] feat(pages): remove components --- apps/www/src/app/(main)/_components/CodingHours/CodingHours.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/www/src/app/(main)/_components/CodingHours/CodingHours.tsx b/apps/www/src/app/(main)/_components/CodingHours/CodingHours.tsx index 4717a82..80b051a 100644 --- a/apps/www/src/app/(main)/_components/CodingHours/CodingHours.tsx +++ b/apps/www/src/app/(main)/_components/CodingHours/CodingHours.tsx @@ -8,7 +8,7 @@ export const CodingHours = async () => { 'https://wakatime.com/api/v1/users/current/all_time_since_today', { headers: { - Authorization: `Basic ${Buffer.from(env.WAKATIME_API_KEY).toString('base64')}`, + Authorization: `Basic ${Buffer.from(env.WAKATIME_API_KEY ?? '').toString('base64')}`, }, }, );