Skip to content

Commit

Permalink
fix: eslint fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
miky41195 committed Feb 25, 2025
1 parent b908e6e commit a544c55
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions src/features/agenda/screens/AgendaScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -155,20 +155,6 @@ export const AgendaScreen = ({ navigation, route }: Props) => {

// TODO try to scroll backwards
// https://github.com/polito/students-app/blob/v1.6.9/src/features/agenda/screens/AgendaScreen.tsx#L155
// const scrollToLastOffset = () => {
// flatListRef.current?.scrollToOffset({
// offset: agendaState.currentOffset,
// animated: false,
// });
// };

// const onContentHeightChange = (height: number) => {
// setAgendaState(prev => ({
// ...prev,
// contentHeight: height,
// todayOffsetOverall: prev.dayOffsetOverall + (height - prev.contentHeight),
// }));
// };

const screenOptions = useMemo<AgendaOption[]>(
() => [
Expand Down

0 comments on commit a544c55

Please sign in to comment.