Skip to content

Commit

Permalink
Merge pull request #21 from avikalpg/akg/minor_changes_based_on_ghgra…
Browse files Browse the repository at this point in the history
…phql_limits

reduce the skyline length by 1 week because of GitHub GraphQL API
  • Loading branch information
avikalpg authored Jan 26, 2025
2 parents 2140f19 + ae3345d commit 9b389e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/UsernameSearchBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ function UsernameSearchBar() {
'--Input-radius': `16px`,
'--Input-decoratorChildHeight': `28px`,
}}
onChange={(event) => setUsername(event.target.value)}
onChange={(event: React.ChangeEvent<HTMLInputElement>) => setUsername(event.target.value)}
/>
{(!errorMessage || errorMessage === "") ? null : (
<Typography color='danger' level='body-md' variant='soft' sx={{
Expand Down
2 changes: 1 addition & 1 deletion src/utils/generateContributionTimeline.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,6 @@ export const getSundayOfWeek = (date: Date) => {
export const getFirstDayOfYearFromLastDay = (lastDay: Date) => {
const firstDay = new Date(lastDay);
firstDay.setFullYear(lastDay.getFullYear() - 1);
firstDay.setDate(firstDay.getDate() + 1);
firstDay.setDate(firstDay.getDate() + 8);
return firstDay;
}

0 comments on commit 9b389e2

Please sign in to comment.