We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52fc37a commit 21e4784Copy full SHA for 21e4784
src/expandableCalendar/agendaList.tsx
@@ -85,7 +85,7 @@ const AgendaList = (props: AgendaListProps) => {
85
const {date, updateSource, setDate, setDisabled} = useContext(Context);
86
const style = useRef(styleConstructor(theme));
87
const list = useRef<any>();
88
- const _topSection = useRef(sections[0].title);
+ const _topSection = useRef(sections[0]?.title);
89
const didScroll = useRef(false);
90
const sectionScroll = useRef(false);
91
const sectionHeight = useRef(0);
0 commit comments