changes according to feedback
Signed-off-by: Abhay-soni-developer <abhaysoni.developer@gmail.com>
This commit is contained in:
committed by
blam
parent
6dcc785d9a
commit
910f6abfa6
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user