Skip to content

Commit 4bba273

Browse files
authored
Changed the FlashList using syntax according to the WebEditor errors (#2569)
1 parent 2cb96c2 commit 4bba273

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/incubator/Calendar/Agenda.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import {isSameDay, isSameMonth} from './helpers/DateUtils';
99
import {InternalEvent, Event, DateSectionHeader, UpdateSource} from './types';
1010
import CalendarContext from './CalendarContext';
1111

12-
const {FlashList} = FlashListPackage;
12+
const FlashList = FlashListPackage?.FlashList;
1313

1414
// TODO: Fix initial scrolling
1515
function Agenda() {

src/incubator/Calendar/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import Agenda from './Agenda';
1313
import TodayButton from './TodayButton';
1414
import Header from './Header';
1515

16-
const {FlashList} = FlashListPackage;
16+
const FlashList = FlashListPackage?.FlashList;
1717

1818
// TODO: Move this logic elsewhere to pre-generate on install?
1919
const MONTH_ITEMS = generateMonthItems(2);

0 commit comments

Comments
 (0)