From e51d59f1ad3287f52f3aefeafa9b50802473b42b Mon Sep 17 00:00:00 2001 From: MathieuG-P Date: Tue, 19 Jul 2022 21:28:26 +0200 Subject: [PATCH] add key --- .../components/notification/notification-item.component.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/components/notification/notification-item.component.tsx b/src/renderer/components/notification/notification-item.component.tsx index 6bc65ae2..a4d541f7 100644 --- a/src/renderer/components/notification/notification-item.component.tsx +++ b/src/renderer/components/notification/notification-item.component.tsx @@ -38,7 +38,7 @@ export function NotificationItem({resolver, notification}: {resolver?: (value: N {notification.actions && (
- {notification.actions.map(a => resolver(a.id)} className={`px-1 cursor-pointer flex-1 grow rounded-md text-center bg-blue-500 hover:brightness-110 transition-all text-gray-200 whitespace-nowrap m-[3px] ${a.cancel && "!bg-gray-500"}`}>{t(a.title)})} + {notification.actions.map(a => resolver(a.id)} className={`px-1 cursor-pointer flex-1 grow rounded-md text-center bg-blue-500 hover:brightness-110 transition-all text-gray-200 whitespace-nowrap m-[3px] ${a.cancel && "!bg-gray-500"}`}>{t(a.title)})}
)}