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