mirror of
https://github.com/billsonnn/nitro-react.git
synced 2024-11-30 08:50:51 +01:00
Changes
This commit is contained in:
parent
73e79c98c0
commit
3fbc7beea7
@ -20,7 +20,6 @@ export const NotificationCenterView: FC<NotificationCenterViewProps> = props =>
|
||||
|
||||
const onNotificationAlertEvent = useCallback((event: NotificationAlertEvent) =>
|
||||
{
|
||||
console.log(event);
|
||||
const alertItem = new NotificationAlertItem(event.messages, event.alertType, event.clickUrl, event.clickUrlText, event.title, event.imageUrl);
|
||||
|
||||
setAlerts(prevValue => [ alertItem, ...prevValue ]);
|
||||
@ -30,7 +29,6 @@ export const NotificationCenterView: FC<NotificationCenterViewProps> = props =>
|
||||
|
||||
const onNotificationBubbleEvent = useCallback((event: NotificationBubbleEvent) =>
|
||||
{
|
||||
console.log(event);
|
||||
const notificationItem = new NotificationBubbleItem(event.message, event.notificationType, event.imageUrl, event.linkUrl);
|
||||
|
||||
setBubbleAlerts(prevValue => [ notificationItem, ...prevValue ]);
|
||||
|
@ -80,6 +80,7 @@
|
||||
}
|
||||
|
||||
.fas,
|
||||
.svg-inline--fa,
|
||||
.nitro-currency-icon {
|
||||
position: absolute;
|
||||
right: 8px;
|
||||
|
Loading…
Reference in New Issue
Block a user