Merge pull request #18870 from backstage/renovate/luxon-3.x-lockfile

fix(deps): update dependency luxon to v3.4.2
This commit is contained in:
Fredrik Adelöw
2023-09-04 11:54:23 +02:00
committed by GitHub
21 changed files with 87 additions and 50 deletions
@@ -13,6 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { sortBy } from 'lodash';
import { DateTime } from 'luxon';
import React, { useState } from 'react';
@@ -56,9 +57,9 @@ export const CalendarCard = () => {
const { data: events, isLoading: isEventLoading } = useEventsQuery({
calendarId: selectedCalendarId || defaultCalendarId || '',
enabled: isSignedIn && calendars.length > 0,
timeMin: date.startOf('day').toISO(),
timeMax: date.endOf('day').toISO(),
timeZone: date.zoneName,
timeMin: date.startOf('day').toISO()!,
timeMax: date.endOf('day').toISO()!,
timeZone: date.zoneName ?? undefined,
});
const showLoader =