Skip to content

Commit

Permalink
fix: linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Adventune committed Jul 18, 2024
1 parent 41b453a commit d27a3c4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion components/timetable/Event.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { useFavorite } from '@/hooks/useFavorite';
import dayjs from 'dayjs';
import { useTranslation } from 'react-i18next';
import { Image, View } from 'react-native';
Expand Down
3 changes: 2 additions & 1 deletion hooks/useNavigationPanel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export function useNavigationPanel(onPageSelectedCallback: (position: number) =>
useNativeDriver: false,
}
),
[]
[onPageSelectedCallback, onPageSelectedPosition]
);

return {
Expand All @@ -43,6 +43,7 @@ export function useNavigationPanel(onPageSelectedCallback: (position: number) =>
nextPage,
previousPage,
isAnimated,
setIsAnimated,
setPage,
onPageSelected,
};
Expand Down

0 comments on commit d27a3c4

Please sign in to comment.