From 9b624059874847d2170f2ebb032cccd8654e7148 Mon Sep 17 00:00:00 2001 From: Ole Martin Pettersen Date: Thu, 11 Jul 2024 08:42:12 +0200 Subject: [PATCH] MessageBarProps['intent'] --- client/parts/UserNotifications/types.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/client/parts/UserNotifications/types.tsx b/client/parts/UserNotifications/types.tsx index 42a3305a7..523e73150 100644 --- a/client/parts/UserNotifications/types.tsx +++ b/client/parts/UserNotifications/types.tsx @@ -1,5 +1,4 @@ import { MessageBarProps } from '@fluentui/react-components' -import { AlertProps } from '@fluentui/react-components/dist/unstable' import { TFunction } from 'i18next' import { Notification } from 'types' import { getFluentIcon as icon } from 'utils/getFluentIcon' @@ -31,7 +30,7 @@ export class NotificationModel { * * @returns The intent of the notification. */ - private get _notificationIntent(): AlertProps['intent'] { + private get _notificationIntent(): MessageBarProps['intent'] { switch (this.type) { case 'WEEK_NOT_CONFIRMED': { return 'warning'