mirror of
https://git.rezel.net/LudoTech/traque.git
synced 2026-02-09 10:20:16 +01:00
fixed problems for depployment
This commit is contained in:
@@ -41,7 +41,7 @@ export function Notification({socket }) {
|
||||
return (
|
||||
Object.keys(bgColorMap).map((key) =>
|
||||
notification?.type == key &&
|
||||
<div className={classNames + bgColorMap[key]} onClick={() => setVisible(false)}>
|
||||
<div key={key} className={classNames + bgColorMap[key]} onClick={() => setVisible(false)}>
|
||||
<p className='text-center text-xl'>{notification?.text}</p>
|
||||
</div>
|
||||
));
|
||||
|
||||
Reference in New Issue
Block a user