Commit 5eea07bc authored by Kim, Subin's avatar Kim, Subin
Browse files

앞으로는 carousel-item에 key를 지정하지 말자..

parent 54796f7c
...@@ -28,7 +28,7 @@ const ScheduleCarousel = () => { ...@@ -28,7 +28,7 @@ const ScheduleCarousel = () => {
<div className="carousel-inner"> <div className="carousel-inner">
{scheduleList.length !== 0 ? {scheduleList.length !== 0 ?
scheduleList.map((schedule, idx) => scheduleList.map((schedule, idx) =>
<div key={idx} className={"carousel-item" + (idx === 0 ? " active" : "")}> <div className={"carousel-item " + (idx === 0 ? "active" : "")}>
<KU key={idx} schedule={schedule} /> <KU key={idx} schedule={schedule} />
</div>) : null} </div>) : null}
</div> </div>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment