Update packages/app-store/_utils/getCalendar.ts

pull/11044/head
Hariom Balhara 2023-09-02 14:28:06 +05:30 committed by GitHub
parent aaf83289d1
commit bceaa3a8bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -29,7 +29,6 @@ export const getCalendar = async (credential: CredentialPayload | null): Promise
if (calendarType?.endsWith("_other_calendar")) { if (calendarType?.endsWith("_other_calendar")) {
calendarType = calendarType.split("_other_calendar")[0]; calendarType = calendarType.split("_other_calendar")[0];
} }
const calendarAppImportFn = appStore[calendarType.split("_").join("") as keyof typeof appStore]; const calendarAppImportFn = appStore[calendarType.split("_").join("") as keyof typeof appStore];
if (!calendarAppImportFn) { if (!calendarAppImportFn) {