From 79ccdbf5db397e7d68d9ee39fd0d6b1e648616b4 Mon Sep 17 00:00:00 2001 From: Abderahman88 Date: Tue, 27 Oct 2020 20:07:31 +0100 Subject: [PATCH] format document --- .../components/GraphCalendar.tsx | 44 +++++++++---------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/samples/react-graph-calendar/src/webparts/graphCalendar/components/GraphCalendar.tsx b/samples/react-graph-calendar/src/webparts/graphCalendar/components/GraphCalendar.tsx index f7516cc44..375a93ab5 100644 --- a/samples/react-graph-calendar/src/webparts/graphCalendar/components/GraphCalendar.tsx +++ b/samples/react-graph-calendar/src/webparts/graphCalendar/components/GraphCalendar.tsx @@ -252,20 +252,20 @@ export default class GraphCalendar extends React.Component, startDate: Date, endDate: Date): Promise> { return new Promise>((resolve, reject) => { this.props.context.msGraphClientFactory @@ -347,7 +347,7 @@ export default class GraphCalendar extends React.Component { let apiUrl: string = `/groups/${this.state.groupId}/events/${item.id}/instances?startDateTime=${startDate.toISOString()}&endDateTime=${endDate.toISOString()}`; - if(this._isPersonalTab()) { + if (this._isPersonalTab()) { apiUrl = `/me/events/${item.id}/instances?startDateTime=${startDate.toISOString()}&endDateTime=${endDate.toISOString()}`; } client @@ -382,7 +382,7 @@ export default class GraphCalendar extends React.Component { let apiUrl: string = `/groups/${this.state.groupId}/events`; - if(this._isPersonalTab()) { + if (this._isPersonalTab()) { apiUrl = '/me/events'; } client