add
This commit is contained in:
parent
b7a2dad7a5
commit
6f560dc440
|
@ -109,8 +109,8 @@ const CoursesSection: React.FC<CoursesSectionProps> = ({
|
||||||
<Spin className="m-3" />
|
<Spin className="m-3" />
|
||||||
) : (
|
) : (
|
||||||
<>
|
<>
|
||||||
{['全部',...gateGory.categories].map((category) => (
|
{['全部',...gateGory.categories].map((category,idx) => (
|
||||||
<CoursesSectionTag category= {category} selectedCategory={selectedCategory} setSelectedCategory={setSelectedCategory}/>
|
<CoursesSectionTag key={idx} category= {category} selectedCategory={selectedCategory} setSelectedCategory={setSelectedCategory}/>
|
||||||
))}
|
))}
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
|
|
Loading…
Reference in New Issue