Skip to content

Commit

Permalink
MessageBarProps['intent']
Browse files Browse the repository at this point in the history
  • Loading branch information
olemp committed Jul 11, 2024
1 parent bf199f5 commit 9b62405
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions client/parts/UserNotifications/types.tsx
Original file line number Diff line number Diff line change
@@ -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'
Expand Down Expand Up @@ -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'
Expand Down

0 comments on commit 9b62405

Please sign in to comment.