Skip to content

Commit

Permalink
refactor(lint): Fix de problèmes de lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ecnivtwelve committed Dec 27, 2024
1 parent 40bd7d7 commit fd510f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/utils/GetRessources/GetContribs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ export interface Contributor {
login: string;
avatar_url: string;
html_url: string;
contributions: number;
}

export async function getContributors (): Promise<Contributor[]> {
Expand Down
2 changes: 1 addition & 1 deletion src/views/account/Lessons/Lessons.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ const Lessons: Screen<"Lessons"> = ({ route, navigation }) => {
return unsubscribe;
}, []);

const onDateSelect = (date: Date) => {
const onDateSelect = (date: Date | undefined) => {
const newDate = new Date(date || 0);
newDate.setHours(0, 0, 0, 0);
setPickerDate(newDate);
Expand Down

0 comments on commit fd510f7

Please sign in to comment.