Skip to content

Commit

Permalink
feat(pages): remove components
Browse files Browse the repository at this point in the history
  • Loading branch information
codingcodax committed Jul 24, 2024
1 parent 3ca23f2 commit ff1a03f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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')}`,

Check failure on line 11 in apps/www/src/app/(main)/_components/CodingHours/CodingHours.tsx

View workflow job for this annotation

GitHub Actions / lint

Unnecessary conditional, expected left-hand side of `??` operator to be possibly null or undefined
},
},
);
Expand Down

0 comments on commit ff1a03f

Please sign in to comment.