Commit e163db0c authored by Yoon, Daeki's avatar Yoon, Daeki 😅
Browse files

key 추가

parent f8d845da
......@@ -33,7 +33,7 @@ export const RadioForm = ({ element, handleQuestion, save }: Props) => {
<>
<div id="content" className="mt-4 p-5">
{choices.map((choice: any, index: number) => (
<div className="m-5">
<div key={index} className="m-5">
<input type="radio" disabled></input>
<input
id={`${index}`}
......
......@@ -30,7 +30,11 @@ export const ResultSurvey = () => {
<div className="container w-11/12 place-self-center">
{data.map((item) => (
<Accordion title={item.title} content={item.content} />
<Accordion
key={item.title}
title={item.title}
content={item.content}
/>
))}
</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