We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8f8c14 commit e8a2e36Copy full SHA for e8a2e36
client/src/components/Setting/SystemNotification/index.tsx
@@ -18,8 +18,8 @@ const SystemNotification: React.FC = () => {
18
message={
19
<div className={style.textLoop}>
20
<TextLoop interval={5000}>
21
- {notices.map((notice) => (
22
- <span className={style.overflowEllipse} dangerouslySetInnerHTML={{ __html: notice }} />
+ {notices.map((notice, index) => (
+ <span key={index} className={style.overflowEllipse} dangerouslySetInnerHTML={{ __html: notice }} />
23
))}
24
</TextLoop>
25
</div>
0 commit comments