feat: add builders club catalog ui flow

This commit is contained in:
Lorenzune
2026-04-07 14:40:51 +02:00
parent d271264b87
commit 954e477e47
26 changed files with 840 additions and 132 deletions
+11 -1
View File
@@ -73,7 +73,17 @@ const useNotificationState = () =>
const notificationItem = new NotificationBubbleItem(message, type, imageUrl, internalLink);
setBubbleAlerts(prevValue => [ notificationItem, ...prevValue ]);
setBubbleAlerts(prevValue =>
{
if(type === NotificationBubbleType.CLUBGIFT)
{
const filteredAlerts = prevValue.filter(value => (value.notificationType !== NotificationBubbleType.CLUBGIFT));
return [ notificationItem, ...filteredAlerts ];
}
return [ notificationItem, ...prevValue ];
});
}, [ bubblesDisabled ]);
const showNotification = (type: string, options: Map<string, string> = null) =>