Skip to content

Commit

Permalink
fix: Use the keys of the map as the CURRENT_AVAILABLE_NOTIFICATIONS (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinszuchet authored Sep 5, 2024
1 parent fad8d7e commit 9324501
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/Notifications/utils.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,9 @@ export const NotificationComponentByType: DecentralandNotificationComponentByTyp
WorldsPermissionRevokedNotification
}

export const CURRENT_AVAILABLE_NOTIFICATIONS = Object.values(NotificationType)
export const CURRENT_AVAILABLE_NOTIFICATIONS = Object.keys(
NotificationComponentByType
)

export const replaceWithValues = (
str: string,
Expand Down

0 comments on commit 9324501

Please sign in to comment.