mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-10 02:54:15 +00:00
fix props
This commit is contained in:
parent
e004c4b2ab
commit
b9fbf5aa74
@ -1,6 +1,5 @@
|
|||||||
import React from "react"
|
import React from "react"
|
||||||
|
|
||||||
import { Icons } from "components/Icons"
|
|
||||||
import Announcement from "../FeaturedEventAnnouncement"
|
import Announcement from "../FeaturedEventAnnouncement"
|
||||||
|
|
||||||
import "./index.less"
|
import "./index.less"
|
||||||
@ -43,6 +42,6 @@ export default React.memo((props) => {
|
|||||||
}, [])
|
}, [])
|
||||||
|
|
||||||
return <div className="featuredEvents">
|
return <div className="featuredEvents">
|
||||||
{featuredEvents.map((event, index) => <Announcement index={index} data={event.announcement} />)}
|
{featuredEvents.map((event, index) => <Announcement index={index} data={event} />)}
|
||||||
</div>
|
</div>
|
||||||
})
|
})
|
Loading…
x
Reference in New Issue
Block a user