diff --git a/com.twin.app.shoptime/src/views/SearchPanel/SearchResults/SearchResultsType.jsx b/com.twin.app.shoptime/src/views/SearchPanel/SearchResults/SearchResultsType.jsx index f68f65a8..83403710 100644 --- a/com.twin.app.shoptime/src/views/SearchPanel/SearchResults/SearchResultsType.jsx +++ b/com.twin.app.shoptime/src/views/SearchPanel/SearchResults/SearchResultsType.jsx @@ -182,6 +182,17 @@ export default function SearchResultsType({ [category, data, idx, searchQueryRef] ); + const gridListId = useMemo(() => { + switch (category) { + case "theme": + return `${SpotlightIds.SEARCH_THEME}-${searchTimestamp}`; + case "show": + return `${SpotlightIds.SEARCH_SHOW}-${searchTimestamp}`; + case "item": + return `${SpotlightIds.SEARCH_ITEM}-${searchTimestamp}`; + } + }, [category, searchTimestamp]); + const { itemWidth, itemHeight, spacing } = ITEM_SIZE[category] || {}; return ( @@ -198,6 +209,7 @@ export default function SearchResultsType({