changes according to feedback

Signed-off-by: Abhay-soni-developer <abhaysoni.developer@gmail.com>
This commit is contained in:
Abhay-soni-developer
2023-02-01 17:40:10 +05:30
committed by blam
parent 6dcc785d9a
commit 910f6abfa6
3 changed files with 1 additions and 7 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ Welcome to the microsoft-calendar plugin!
_This plugin was created through the Backstage CLI_
You can use this plugin by import MicrosoftCalendar from "@internal/plugin-microsoft-calendar"
You can use this plugin by import MicrosoftCalendar from "@backstage/plugin-microsoft-calendar"
> import { MicrosoftCalendar } from "@internal/plugin-microsoft-calendar"
@@ -65,10 +65,6 @@ export function isPassed(event: MicrosoftCalendarEvent) {
}
export function isAllDay(event: MicrosoftCalendarEvent) {
// if('isAllDay' in event) {
// return event.isAllDay;
// }
const startTime = DateTime.fromISO(event.start?.dateTime || '');
const endTime = DateTime.fromISO(event.end?.dateTime || '');
@@ -13,8 +13,6 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// import { compact, unescape } from 'lodash';
// import { useMemo } from 'react';
import { useQuery } from '@tanstack/react-query';
import { useApi } from '@backstage/core-plugin-api';