Skip to content

Commit

Permalink
fix: wrong notification component for events (#524)
Browse files Browse the repository at this point in the history
  • Loading branch information
lauti7 authored Apr 2, 2024
1 parent 878cf08 commit c1e2c97
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/components/Notifications/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,12 @@ import {
RoyaltiesEarnedNotification,
WorldsAccessRestoredNotification,
WorldsAccessRestrictedNotification,
WorldsMissingResourcesNotification
WorldsMissingResourcesNotification,
EventsStartedNotification,
EventsStartsSoonNotification,
RewardAssignedNotification
} from './NotificationTypes'
import { FunctionComponent } from 'react'
import RewardAssignedNotification from './NotificationTypes/Reward/RewardAssignedNotification'
import EventsStartsSoonNotification from './NotificationTypes/Events/EventStartsSoonNotification'

export const MAXIMUM_FRACTION_DIGITS = 2

Expand Down Expand Up @@ -77,7 +78,7 @@ export const NotificationComponentByType: DecentralandNotificationComponentByTyp
[DecentralandNotificationType.REWARD_ASSIGNED]: RewardAssignedNotification,
[DecentralandNotificationType.EVENTS_STARTS_SOON]:
EventsStartsSoonNotification,
[DecentralandNotificationType.EVENTS_STARTED]: EventsStartsSoonNotification
[DecentralandNotificationType.EVENTS_STARTED]: EventsStartedNotification
}

export const CURRENT_AVAILABLE_NOTIFICATIONS = Object.values(
Expand Down

0 comments on commit c1e2c97

Please sign in to comment.