mirror of
https://github.com/MoonTechLab/LunaTV.git
synced 2026-05-21 21:57:28 +08:00
fix: add key to enable aggregate switch correct
This commit is contained in:
@@ -170,7 +170,10 @@ function SearchPageClient() {
|
|||||||
</div>
|
</div>
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
<div className='justify-start grid grid-cols-3 gap-x-2 gap-y-14 sm:gap-y-20 px-0 sm:px-2 sm:grid-cols-[repeat(auto-fill,_minmax(11rem,_1fr))] sm:gap-x-8 sm:px-4'>
|
<div
|
||||||
|
key={`search-results-${viewMode}`}
|
||||||
|
className='justify-start grid grid-cols-3 gap-x-2 gap-y-14 sm:gap-y-20 px-0 sm:px-2 sm:grid-cols-[repeat(auto-fill,_minmax(11rem,_1fr))] sm:gap-x-8 sm:px-4'
|
||||||
|
>
|
||||||
{viewMode === 'agg'
|
{viewMode === 'agg'
|
||||||
? aggregatedResults.map((group) => {
|
? aggregatedResults.map((group) => {
|
||||||
const key = `${group[0].title}-${
|
const key = `${group[0].title}-${
|
||||||
|
|||||||
Reference in New Issue
Block a user